/**
 * West Coast Cannabis — brand skin layer.
 * Loaded after style.css. Owns the site chrome: announcement bars, header,
 * navigation, hero/promo grid, USP strip and footer treatment.
 */

body,
.wcc-body {
  font-family: var(--wcc-font-body);
  color: var(--wcc-ink);
}

h1, h2, h3, h4, h5, .wcc-nav a, .wcc-btn, .button {
  font-family: var(--wcc-font);
}

.wcc-shell,
.wcc-container {
  width: 100%;
  max-width: var(--wcc-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* --------------------------------------------------------------------------
   1. Announcement + utility bars
   -------------------------------------------------------------------------- */
.wcc-announce {
  background: #b40d0d;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 12px 20px;
}
.wcc-announce strong { font-weight: 700; }

.wcc-utility {
  background: var(--wcc-forest);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}
.wcc-utility__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 40px;
  flex-wrap: wrap;
}
.wcc-utility a { color: rgba(255, 255, 255, 0.88); }
.wcc-utility a:hover { color: var(--wcc-green-bright); }
.wcc-utility__ship { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; color: #fff; }
.wcc-utility__links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.wcc-header {
  background: var(--wcc-dark);
  color: #fff;
  position: relative;
  z-index: 60;
}
.wcc-header a { color: #fff; }
.wcc-header a:hover { color: var(--wcc-green-bright); }

.wcc-header__top {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 14px;
}
.wcc-header__logo img {
  max-height: 76px;
  width: auto;
}
.wcc-header__logo-text {
  font-family: var(--wcc-font);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wcc-search {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
  border-radius: var(--wcc-radius);
  overflow: hidden;
  background: #efece4;
}
.wcc-search input[type="search"],
.wcc-search input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--wcc-ink);
}
.wcc-search input:focus { outline: 2px solid var(--wcc-gold); outline-offset: -2px; }
.wcc-search button {
  border: 0;
  background: var(--wcc-gold);
  color: #fff;
  padding-inline: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.wcc-search button:hover { background: var(--wcc-gold-dark); }

.wcc-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.wcc-iconbtn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--wcc-gold);
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
  color: #fff;
}
.wcc-iconbtn:hover { background: var(--wcc-gold); color: #fff; }
.wcc-iconbtn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--wcc-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding-inline: 5px;
}

/* Primary navigation */
.wcc-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wcc-nav > ul,
.wcc-nav ul.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wcc-nav > ul > li > a,
.wcc-nav ul.menu > li > a {
  display: block;
  padding: 14px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.wcc-nav > ul > li:hover > a,
.wcc-nav > ul > li.current-menu-item > a { color: var(--wcc-green-bright); }

.wcc-nav li { position: relative; }
.wcc-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--wcc-line);
  border-radius: var(--wcc-radius);
  box-shadow: var(--wcc-shadow-lg);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.16s ease;
  z-index: 70;
}
.wcc-nav li:hover > .sub-menu,
.wcc-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.wcc-nav .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.9rem;
  color: var(--wcc-ink);
  text-transform: none;
  letter-spacing: 0;
}
.wcc-nav .sub-menu a:hover { background: var(--wcc-green-soft); color: var(--wcc-green-dark); }

/* --------------------------------------------------------------------------
   3. Official-site notice band
   -------------------------------------------------------------------------- */
.wcc-notice-band {
  background: var(--wcc-green-bright);
  border-radius: var(--wcc-radius-lg);
  text-align: center;
  padding: 28px 26px;
  margin: 26px auto 30px;
  color: var(--wcc-ink);
}
.wcc-notice-band h2,
.wcc-notice-band .wcc-notice-band__title {
  font-size: clamp(1.4rem, 3.4vw, 2.35rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.wcc-notice-band p { margin: 0; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   4. Hero / promo tile grid
   -------------------------------------------------------------------------- */
.wcc-promos {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
.wcc-promos__tile {
  display: block;
  border-radius: var(--wcc-radius-lg);
  overflow: hidden;
  background: var(--wcc-bg-alt);
  box-shadow: var(--wcc-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wcc-promos__tile:hover { transform: translateY(-3px); box-shadow: var(--wcc-shadow-lg); }
.wcc-promos__tile img { width: 100%; height: 100%; object-fit: cover; }
.wcc-promos__tile--lead {
  grid-row: span 2;
}
.wcc-promos__tile--lead img { aspect-ratio: 1 / 1.06; }
.wcc-promos__tile--sm img { aspect-ratio: 1.5 / 1; }

@media (max-width: 900px) {
  .wcc-promos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wcc-promos__tile--lead { grid-column: span 2; grid-row: auto; }
  .wcc-promos__tile--lead img { aspect-ratio: 1.4 / 1; }
}

/* --------------------------------------------------------------------------
   5. USP strip
   -------------------------------------------------------------------------- */
.wcc-usp {
  /* Reset the legacy grid strip: the skin lays the items out on .wcc-usp__inner. */
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  border: 0 !important;
  background: var(--wcc-green);
  color: #fff;
}
.wcc-usp__inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 26px;
  padding-block: 22px;
  align-items: center;
}
.wcc-usp__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  background: transparent !important;
  padding: 0 !important;
  text-align: left !important;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.35;
}
.wcc-usp__text {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
}
.wcc-usp__title {
  display: block;
  font-family: var(--wcc-font);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.wcc-usp__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}


.wcc-usp__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
@media (max-width: 860px) {
  .wcc-usp__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .wcc-usp__inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   6. Buttons and section headings
   -------------------------------------------------------------------------- */
.wcc-btn,
.wcc-btn:visited,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--wcc-green);
  color: #fff;
  border: 0;
  border-radius: var(--wcc-radius);
  font-family: var(--wcc-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  padding: 13px 22px;
  transition: background 0.16s ease;
}
.wcc-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--wcc-green-dark);
  color: #fff;
}
.wcc-btn--ghost {
  background: transparent;
  border: 2px solid var(--wcc-green);
  color: var(--wcc-green-dark);
}
.wcc-btn--ghost:hover { background: var(--wcc-green); color: #fff; }
.wcc-btn--gold { background: var(--wcc-gold); }
.wcc-btn--gold:hover { background: var(--wcc-gold-dark); }

.wcc-section__head h2,
.wcc-section h2 {
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.wcc-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--wcc-green);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.wcc-section__head a { color: var(--wcc-green-dark); font-weight: 600; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   7. Product card accents
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--wcc-green-dark); font-weight: 700; }

.woocommerce span.onsale {
  background: #b40d0d;
  color: #fff;
  border-radius: 4px;
  font-family: var(--wcc-font);
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Footer treatment
   -------------------------------------------------------------------------- */
.wcc-footer {
  background: var(--wcc-dark-2);
  color: rgba(255, 255, 255, 0.72);
}
.wcc-footer a { color: rgba(255, 255, 255, 0.72); }
.wcc-footer a:hover { color: var(--wcc-green-bright); }
.wcc-footer h2,
.wcc-footer h3,
.wcc-footer .wcc-footer__title {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wcc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  padding-block: 18px;
}

/* --------------------------------------------------------------------------
   9. Mobile header behaviour — hamburger is mobile only
   -------------------------------------------------------------------------- */
.wcc-burger { display: none; }
@media (max-width: 1024px) {
  .wcc-burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--wcc-gold);
    border-radius: var(--wcc-radius);
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .wcc-nav { display: none; }
  .wcc-nav.is-open { display: block; }
  .wcc-nav > ul,
  .wcc-nav ul.menu { flex-direction: column; align-items: stretch; gap: 0; }
  .wcc-nav > ul > li > a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .wcc-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
  }
  .wcc-nav .sub-menu a { color: rgba(255, 255, 255, 0.8); }
  .wcc-header__top { flex-wrap: wrap; }
  .wcc-search { order: 3; flex-basis: 100%; }
}
@media (min-width: 1025px) {
  .wcc-burger { display: none !important; }
  .wcc-nav { display: block !important; }
}

/* --------------------------------------------------------------------------
   12. Logo (header + footer) — capped so it never oversizes
   -------------------------------------------------------------------------- */
.wcc-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.05;
}
.wcc-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 52px;
  object-fit: contain;
}
.wcc-logo__text {
  font-family: var(--wcc-font-head, inherit);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 9ch;
  color: #fff;
}
.wcc-logo--footer img { max-height: 58px; max-width: 58px; }
.wcc-logo--footer .wcc-logo__text { color: #fff; }
@media (max-width: 1024px) {
  .wcc-logo img { max-height: 42px; max-width: 42px; }
  .wcc-logo__text { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .wcc-logo__text { display: none; }
}

/* --------------------------------------------------------------------------
   13. Mobile navigation drawer
   -------------------------------------------------------------------------- */
.wcc-nav__head { display: none; }
.wcc-nav-overlay { display: none; }

@media (max-width: 1024px) {
  .wcc-nav-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 990;
  }
  .wcc-nav {
    display: block !important;
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto !important;
    width: min(320px, 86vw);
    max-width: 86vw;
    background: var(--wcc-ink, #10251a) !important;
    color: #fff;
    transform: translateX(-105%) !important;
    transition: transform 0.25s ease;
    z-index: 995;
    padding: 0 0 40px !important;
    overflow-y: auto;
    border-top: 0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
  .wcc-nav.is-open { transform: translateX(0) !important; }
  .wcc-nav__head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .wcc-nav__close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
  }
  .wcc-nav > ul,
  .wcc-nav ul.menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
  }
  .wcc-nav > ul > li > a,
  .wcc-nav ul.menu > li > a {
    display: block;
    color: #fff;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
  }
  .wcc-nav .sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 0 8px;
  }
  .wcc-nav li.is-expanded > .sub-menu { display: block; }
  .wcc-nav .sub-menu a { color: rgba(255, 255, 255, 0.85); padding: 11px 22px; }
  .wcc-nav .sub-menu a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
  body.wcc-nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   14. Blog: inline product cards + article typography
   -------------------------------------------------------------------------- */
.wcc-inline-products {
  margin: 26px 0 32px;
  padding: 20px;
  border: 1px solid var(--wcc-line);
  border-radius: var(--wcc-radius-lg);
  background: var(--wcc-green-soft, #f2f8ec);
}
.wcc-inline-products__head {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.wcc-inline-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.wcc-inline-products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--wcc-line);
  border-radius: var(--wcc-radius);
  padding: 10px;
}
.wcc-inline-products ul.products li.product img { border-radius: 8px; }
.wcc-inline-products__more { margin: 16px 0 0; }
@media (max-width: 900px) {
  .wcc-inline-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.wcc-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; }
.wcc-table th,
.wcc-table td { border: 1px solid var(--wcc-line); padding: 10px 12px; text-align: left; font-size: 0.94rem; }
.wcc-table th { background: var(--wcc-green-soft, #f2f8ec); font-weight: 800; }

/* ---------- Blog imagery ---------- */
.wcc-post-figure {
	margin: 28px 0;
	border-radius: 14px;
	overflow: hidden;
	background: #f2f4f0;
	box-shadow: 0 10px 30px rgba(16, 24, 16, .10);
}
.wcc-post-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.wcc-post-figure figcaption {
	font-size: .85rem;
	padding: 10px 14px;
	color: #5c6a58;
	background: #fff;
}
.wcc-single__media {
	margin: 0 0 28px;
	border-radius: 16px;
	overflow: hidden;
}
.wcc-single__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.wcc-post-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
}
