/*
Theme Name: LIKRISS
Theme URI: https://coau.ru/
Author: LIKRISS
Description: Custom WooCommerce theme for LIKRISS women's clothing store.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: likriss
*/

:root {
  --bg: #f7f3ef;
  --surface: #fffaf6;
  --text: #201b18;
  --muted: #6d625b;
  --line: #ded4cc;
  --accent: #7c3f35;
  --accent-dark: #4e2722;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  background: var(--text);
  color: #fff;
  font-size: 13px;
  padding: 8px 20px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav,
.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a:hover,
.menu a:hover,
.current-menu-item a {
  color: var(--text);
}

.cart-link {
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--text);
  white-space: nowrap;
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(247, 243, 239, 0.94) 0%, rgba(247, 243, 239, 0.78) 38%, rgba(247, 243, 239, 0.08) 74%), url("assets/hero.png");
  background-position: center;
  background-size: cover;
  padding: 64px clamp(20px, 5vw, 72px);
}

.hero-content {
  width: min(560px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(44px, 7vw, 88px);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 22px 0 28px;
  max-width: 620px;
}

.button,
.button.alt,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

.section {
  padding: 70px clamp(20px, 5vw, 72px);
}

.section.alt {
  background: var(--surface);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-block,
.page-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.page-title {
  padding: 56px clamp(20px, 5vw, 72px) 28px;
}

.content {
  max-width: 940px;
  padding: 0 clamp(20px, 5vw, 72px) 70px;
}

.content p,
.content li {
  color: var(--muted);
}

.content h2 {
  margin-top: 34px;
  font-size: 30px;
}

.content a {
  color: var(--accent);
  text-decoration: underline;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(20px, 5vw, 72px);
  background: var(--text);
  color: #fff;
}

.site-footer a,
.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.woocommerce ul.products {
  padding: 70px clamp(20px, 5vw, 72px);
}

.woocommerce ul.products li.product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 18px;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  margin-left: 18px;
  margin-right: 18px;
}

.woocommerce div.product {
  padding: 56px clamp(20px, 5vw, 72px);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .menu {
    flex-wrap: wrap;
  }

  .info-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 560px;
    background-image: linear-gradient(180deg, rgba(247, 243, 239, 0.98) 0%, rgba(247, 243, 239, 0.72) 56%, rgba(247, 243, 239, 0.22) 100%), url("assets/hero.png");
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}
