* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Montserrat, Arial, sans-serif; background:#ffffff; color:#111; }

@font-face {
  font-family: 'CanterburyCustom';
  src: url('Canterbury.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

header {
  position: sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid #e5e5e5;
  z-index:10;
}

/* Desktop nav */
.nav{
  max-width:1100px;
  margin:auto;
  padding:14px 16px;
  display:grid;
  grid-template-columns:auto 1fr auto; /* logo | links | cart */
  align-items:center;
  gap:16px;
}

.logo{
  font-family:'CanterburyCustom', serif;
  letter-spacing: 1px;
  font-size:30px;
}

.nav-links{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
}

.nav a{
  text-decoration:none;
  color:#111;
  font-size:14px;
  font-weight:600;
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{ background:#f2f2f2; }

/* cart icon */
.cart-icon-btn{
  position:relative;
  width:42px;
  height:42px;
  border:2px solid #000;
  background:#fff;
  border-radius:12px;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.cart-icon-btn:hover{ background:#f2f2f2; }

.cart-badge{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#000;
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Mobile: logo on top, links+cart inline row under */
@media (max-width:640px){
  .nav{
    grid-template-columns:1fr;
    text-align:center;
    row-gap:10px;
  }
  .logo{ order:1; justify-self:center; }
  .nav-links{ order:2; justify-content:center; }
  .cart-icon-btn{ order:3; justify-self:center; }
}

/* hero */
.hero {
  max-width:1100px;
  margin: 20px auto 0;
  padding:120px 40px;
  border-radius:24px;
  color:#fff;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url('images/hero.png') center/cover no-repeat;
}
.hero h1 { font-size:48px; line-height:1.1; margin-bottom:20px; }
.hero p { color:#fff; font-size:18px; margin-bottom:28px; }

.btn {
  display:inline-block;
  padding:14px 22px;
  border-radius:12px;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  margin-right:12px;
  cursor:pointer;
}
.btn-dark { background:#ffffff; color:#000000; border:none; }
.btn-outline { border:2px solid #000; color:#000; background:#fff; }

.section-gray { background:#f6f6f6; padding:80px 16px; }
.container { max-width:1100px; margin:auto; }
.section-title { font-size:30px; font-weight:800; margin-bottom:40px; }

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

.card {
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e8e8e8;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}
.card img{
  width:100%;
  height:320px;
  object-fit:cover;
  object-position:center;
  display:block;
}

.card-body { padding:16px; }
.price { color:#666; font-size:14px; margin:6px 0 10px; }

select {
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid #ccc;
  margin-bottom:12px;
  font-family:inherit;
}

.about { max-width:800px; margin:auto; padding:80px 16px; text-align:center; }
.about p { color:#555; margin-top:20px; line-height:1.6; }

.contact { background:#000; color:#fff; padding:70px 16px; }
.contact-grid { max-width:1000px; margin:auto; display:grid; grid-template-columns:1fr 1fr; gap:40px; }

input, textarea {
  width:100%;
  padding:14px;
  border-radius:12px;
  border:none;
  margin-bottom:14px;
  font-family:inherit;
}

.contact-send{
  color:#fff;
  border-color:#fff;
  background:transparent;
  margin-right:0;
}

footer { text-align:center; color:#777; font-size:13px; padding:26px 10px; }

/* cart panel */
.cart-panel {
  position: fixed;
  right: -400px;
  top: 0;
  width: 360px;
  height: 100%;
  background: #fff;
  border-left:1px solid #e5e5e5;
  padding:20px;
  transition: right .3s ease;
  z-index: 100;
  display:flex;
  flex-direction:column;
}

.cart-panel.open { right:0; }

.cart-items { flex:1; overflow:auto; margin:16px 0; }

.cart-row {
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
  font-size:14px;
  gap:10px;
}

.overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.4);
  display:none;
  z-index:90;
}
.overlay.show { display:block; }

.checkout-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 12px;
  transition: transform .15s ease, opacity .15s ease;
}
.checkout-btn:hover { opacity: .9; transform: translateY(-1px); }

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

@media (max-width: 600px) {
  .grid { grid-template-columns:1fr; }
  .hero { padding:90px 18px; }
  .hero h1 { font-size:36px; }
}
