/*
Theme Name: Single Key
Theme URI: https://singlekey.com
Author: Single Key
Description: Ecommerce theme for Single Key Hotels. The homepage keeps the designed layout, and WooCommerce powers the shop, cart, and checkout.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: singlekey
Tags: e-commerce, custom-menu, featured-images, woocommerce
*/

/* Menus render as lists; keep them in the same row as the designed nav. */
.nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-cart {
  font-family: var(--nav);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
}

.nav-cart__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.social a.social-fb { background: #1877f2; }
.social a.social-ig { background: #e1306c; }
.social a.social-pin { background: #bd081c; }
.social a.social-in { background: #0a66c2; }

.page-main,
.shop-wrap {
  padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px);
}

.entry {
  width: min(820px, calc(100% - 10vw));
  margin: 0 auto;
}

.entry h1,
.shop-wrap .woocommerce-products-header__title,
.woocommerce-account .woocommerce h2,
.woocommerce-cart .entry-title {
  font-family: var(--script);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  margin: 0 0 24px;
  color: var(--black);
}

.entry__content,
.entry__content p,
.shop-wrap {
  font-family: var(--ui);
  font-weight: 400;
  color: #3a3a3a;
}

.entry__content > * + * {
  margin-top: 1em;
}

.entry__content a {
  color: var(--gold);
}

.entry__content img {
  max-width: 100%;
  height: auto;
}

.posts {
  width: min(1100px, calc(100% - 10vw));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.post-card h2 {
  font-family: var(--script);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  margin: 8px 0;
}

.post-card h2 a:hover {
  color: var(--gold);
}

.post-card time,
.post-card p {
  font-family: var(--ui);
  font-weight: 400;
}

body.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

@media (min-width: 981px) {
  body.admin-bar .stage > .panel {
    top: calc(var(--header) + 32px);
  }
}

@media (max-width: 980px) {
  .nav ul {
    flex-direction: column;
    gap: 28px;
  }
}
