/* rydex.store — lihtne, käsitööna tehtud välimus */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #f4f4f2;
  color: #1a1a1a;
  line-height: 1.55;
  font-size: 15px;
}

a { color: #1a1a1a; }

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 18px 60px;
}

/* päis */
header {
  border-bottom: 2px solid #1a1a1a;
  padding: 14px 0 10px;
  margin-bottom: 34px;
}
header .wrap-head {
  max-width: 880px; margin: 0 auto; padding: 0 18px;
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 8px;
}
.logo {
  font-size: 22px; font-weight: bold; letter-spacing: 1px;
  text-decoration: none;
}
.logo span { color: #777; font-weight: normal; }
nav a {
  margin-left: 18px; text-decoration: none;
  border-bottom: 1px solid #999; font-size: 14px;
}
nav a:hover { border-bottom: 2px solid #1a1a1a; }
.cart-link { position: relative; }

/* tootekaart */
.product {
  background: #fff;
  border: 1px solid #d8d8d4;
  box-shadow: 3px 3px 0 rgba(0,0,0,.06);
  padding: 26px 26px 30px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}
@media (max-width: 640px) { .product { grid-template-columns: 1fr; } }

.photo {
  border: 1px solid #ccc;
  background: #efefec;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 13px; text-align: center; padding: 10px;
  position: relative;
}
.photo img { max-width: 100%; display: block; }

.tag {
  display: inline-block;
  background: #1a1a1a; color: #fff;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px; margin-bottom: 12px;
  transform: rotate(-1.2deg);
}
h1 { font-size: 26px; margin-bottom: 6px; }
.sub { color: #666; font-size: 14px; margin-bottom: 18px; }

.price {
  font-size: 30px; font-weight: bold; margin: 14px 0 4px;
}
.price small { font-size: 14px; font-weight: normal; color: #666; }
.stock { font-size: 13px; color: #2e7d32; margin-bottom: 18px; }

.desc { font-size: 14px; color: #333; margin-bottom: 18px; }
ul.specs { list-style: none; margin-bottom: 22px; }
ul.specs li {
  padding: 6px 0 6px 20px; border-bottom: 1px dashed #ddd;
  font-size: 14px; position: relative;
}
ul.specs li::before { content: "—"; position: absolute; left: 0; color: #888; }

.btn {
  display: inline-block;
  background: #1a1a1a; color: #fff; border: 2px solid #1a1a1a;
  font-family: inherit; font-size: 15px;
  padding: 11px 26px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: #fff; color: #1a1a1a; }
.btn.ghost { background: #fff; color: #1a1a1a; }
.btn.ghost:hover { background: #1a1a1a; color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* märkus all */
.note {
  margin-top: 34px; font-size: 13px; color: #666;
  border-left: 3px solid #bbb; padding-left: 12px; max-width: 560px;
}

/* korv */
table.cart { width: 100%; border-collapse: collapse; background: #fff; }
table.cart th, table.cart td {
  border-bottom: 1px solid #ddd; padding: 12px 10px; text-align: left; font-size: 14px;
}
table.cart th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #777; }
.qty-input { width: 52px; padding: 5px; font-family: inherit; border: 1px solid #bbb; }
.cart-total { text-align: right; font-size: 20px; font-weight: bold; padding: 16px 10px; }
.cart-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.empty { background: #fff; border: 1px dashed #bbb; padding: 40px; text-align: center; color: #666; }

/* checkout / peatatud */
.paused {
  background: #fff;
  border: 2px dashed #1a1a1a;
  padding: 40px 30px; text-align: center;
  margin-bottom: 30px;
}
.paused h2 { font-size: 24px; margin-bottom: 10px; }
.paused p { color: #555; }
.soon {
  display: inline-block; margin-top: 16px;
  background: #1a1a1a; color: #fff; padding: 6px 16px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  transform: rotate(-1deg);
}
.ship-opts { display: grid; gap: 10px; margin-top: 16px; }
.ship {
  border: 1px solid #ccc; background: #fafafa; padding: 12px 14px;
  font-size: 14px; display: flex; justify-content: space-between; gap: 10px;
  color: #666;
}
.ship b { color: #333; }

footer {
  border-top: 1px solid #ccc; margin-top: 60px; padding: 18px 0;
  font-size: 12px; color: #888; text-align: center;
}
.msg { background: #1a1a1a; color: #fff; padding: 8px 14px; font-size: 13px; display: inline-block; margin-bottom: 16px; }
h2.page-title { font-size: 22px; margin-bottom: 18px; }