:root {
  --black: #0b0b0d;
  --charcoal: #1a1a1d;
  --red: #c8102e;
  --red-dark: #99081f;
  --gold: #c9a24b;
  --grey: #f2f1ee;
  --grey-dark: #6b6b6b;
  --white: #fff;
  --radius: 10px;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--grey);
  color: var(--black);
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: 0.5px; }

/* Top bar */
.top-bar {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 6px 12px;
}

/* Header */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.logo span { color: var(--red); }
.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  transition: background .15s ease, color .15s ease;
}
.main-nav button:hover {
  background: rgba(255,255,255,0.1);
}
.main-nav button.active {
  background: var(--red);
  color: var(--white);
}
.cart-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(200,16,46,0.4);
  transition: transform .12s ease, box-shadow .12s ease;
}
.cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(200,16,46,0.55);
}
.cart-count {
  background: var(--white);
  color: var(--red);
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, #262629 0%, var(--black) 60%);
  color: var(--white);
  text-align: center;
  padding: 90px 20px 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(200,16,46,0.12) 0px,
    rgba(200,16,46,0.12) 14px,
    transparent 14px,
    transparent 60px
  );
  z-index: -1;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgba(0,0,0,0.3);
}
.hero p {
  margin: 0 0 28px;
  color: #cfcfcf;
  font-size: 1.05rem;
}
.hero-cta {
  background: linear-gradient(135deg, var(--gold), #a9813a);
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.hero-cta:hover { transform: translateY(-2px); }

/* Lifestyle */
.lifestyle-section {
  background: var(--black);
  padding: 60px 20px 70px;
}
.lifestyle-heading {
  text-align: center;
  margin-bottom: 34px;
}
.lifestyle-heading .section-tag { color: var(--gold); }
.lifestyle-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.9rem;
  text-transform: uppercase;
}
.lifestyle-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 560px;
}
.lifestyle-item {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1a1d, #0b0b0d);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lifestyle-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}
.lifestyle-big {
  grid-row: 1 / 3;
}
@media (max-width: 780px) {
  .lifestyle-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  .lifestyle-big { grid-row: auto; grid-column: 1 / 3; height: 320px; }
  .lifestyle-item:not(.lifestyle-big) { height: 220px; }
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 70px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}
.section-tag {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section-heading h2 {
  margin: 0;
  font-size: 1.9rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

/* Filters */
.filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--grey-dark);
}
.filter-group select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #ddd;
  min-width: 150px;
  font-family: inherit;
  font-weight: 600;
  color: var(--black);
  background: var(--grey);
}
.filter-group select:focus {
  outline: 2px solid var(--red);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}
.product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
  border-color: var(--red);
}
.product-card .thumb {
  height: 230px;
  background: linear-gradient(160deg, #ececec 0%, #f7f7f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card .thumb img {
  max-height: 88%;
  max-width: 88%;
  object-fit: contain;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,0.18));
  transition: transform .2s ease;
}
.product-card:hover .thumb img {
  transform: scale(1.06);
}
.product-card .info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-card .info h3 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.product-card .category-tag {
  font-size: 0.68rem;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}
.product-card .price {
  margin-top: auto;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--black);
  padding-top: 8px;
  border-top: 1px dashed #e2e2e2;
}

/* Future categories */
.future-section {
  margin-top: 70px;
}
.future-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.future-tags span {
  background: var(--white);
  color: var(--grey-dark);
  border: 1.5px dashed #ccc;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--grey);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--grey-dark);
  line-height: 1;
}
.close-btn:hover { background: var(--red); color: var(--white); }

/* Product modal */
.product-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 640px) {
  .product-modal-body { grid-template-columns: 1fr; }
}
.gallery-main {
  height: 320px;
  background: var(--grey);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-main img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.gallery-thumbs img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  background: var(--grey);
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 2px;
}
.gallery-thumbs img.active {
  border-color: var(--red);
}
.product-details .category-tag { color: var(--red); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.product-details h2 {
  margin-top: 6px;
  margin-bottom: 4px;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.product-details .price {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 10px 0;
  color: var(--red);
  font-family: var(--font-display);
}
.product-details .desc {
  color: var(--grey-dark);
  font-size: 0.92rem;
  margin-bottom: 18px;
  line-height: 1.5;
}
.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.size-options button {
  border: 2px solid #ddd;
  background: var(--white);
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all .12s ease;
}
.size-options button:hover:not(:disabled) { border-color: var(--black); }
.size-options button.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.size-options button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.qty-row button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: var(--white);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
}
.qty-row input {
  width: 50px;
  text-align: center;
  padding: 7px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-weight: 700;
}
.add-to-cart-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  box-shadow: 0 6px 16px rgba(200,16,46,0.35);
  transition: transform .12s ease;
}
.add-to-cart-btn:hover:not(:disabled) { transform: translateY(-2px); }
.add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}
.stock-msg {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.stock-msg.ok { color: #1a7f37; }
.stock-msg.low { color: #b06a00; }
.stock-msg.out { color: var(--red); }

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 200;
  transition: right .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 30px rgba(0,0,0,0.3);
}
.cart-drawer.open { right: 0; }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--black);
  color: var(--white);
  border-bottom: 3px solid var(--red);
}
.cart-header h2 {
  margin: 0;
  font-size: 1.3rem;
  text-transform: uppercase;
}
.cart-header .close-btn { background: rgba(255,255,255,0.15); color: var(--white); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--grey);
  border-radius: 8px;
}
.cart-item .cart-item-info {
  flex: 1;
  font-size: 0.85rem;
}
.cart-item .cart-item-info .name { font-weight: 700; }
.cart-item .cart-item-info .meta { color: var(--grey-dark); }
.cart-item .remove-btn {
  border: none;
  background: none;
  color: var(--red);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0;
  margin-top: 4px;
}
.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}
.cart-total {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.checkout-btn {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.checkout-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.drawer-overlay.open { display: block; }

/* Checkout modal */
.checkout-modal { max-width: 480px; }
.checkout-modal h2 { text-transform: uppercase; margin-top: 6px; }
.checkout-note {
  font-size: 0.85rem;
  color: var(--grey-dark);
  background: var(--grey);
  padding: 12px;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
}
.required-note {
  font-size: 0.78rem;
  color: var(--grey-dark);
  margin: 10px 0 0;
}
.required-star {
  color: var(--red);
  font-weight: 800;
}
#checkoutForm label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--grey-dark);
}
#checkoutForm input,
#checkoutForm textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 2px solid #e2e2e2;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  color: var(--black);
}
#checkoutForm input:focus,
#checkoutForm textarea:focus {
  outline: none;
  border-color: var(--red);
}
.order-summary {
  background: var(--grey);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.85rem;
  margin: 10px 0 18px;
  max-height: 140px;
  overflow-y: auto;
  white-space: pre-wrap;
}
.checkout-actions {
  display: flex;
  gap: 10px;
}
.wa-btn, .email-btn, .pay-card-btn {
  flex: 1;
  padding: 13px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
}
.wa-btn { background: #25d366; }
.email-btn { background: var(--black); }
.pay-card-btn { background: var(--red); }
.pay-card-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.order-recorded-msg {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a7f37;
}
.order-error-msg {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #aaa;
  padding: 50px 20px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid #2a2a2a;
}
.footer-brand .logo { color: var(--white); }
.footer-brand .logo img { height: 64px; }
.footer-brand p {
  margin-top: 10px;
  font-size: 0.88rem;
  max-width: 280px;
  color: #999;
}
.footer-contact h3 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;
}
.footer-contact p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.78rem;
  color: #777;
  padding: 18px 0;
}
.admin-link {
  color: #999;
  text-decoration: underline;
}
.admin-link:hover { color: var(--white); }
