﻿@font-face {
  font-family: "Geologica Local";
  src: url("assets/logotype%20%26%20typo/Geologica-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tenor Local";
  src: url("assets/logotype%20%26%20typo/TenorSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --white: #ffffff;
  --text: #000000;
  --muted: #6f665a;
  --line: #ece2d4;
  --gold-dark: #7d6848;
  --gold-light: #bba278;
  --dark: #000000;
  --radius: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Geologica Local", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Geologica Local", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.topbar {
  background: var(--dark);
  color: #f7f1e8;
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 10px;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.logo {
  justify-self: start;
}

.main-nav {
  justify-self: center;
}

.logo {
  font-family: "Tenor Local", serif;
  font-size: 28px;
  letter-spacing: 6px;
  font-weight: 400;
  color: var(--gold-dark);
}

.logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 6px;
  margin-top: -4px;
  color: var(--gold-light);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.main-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--gold-dark);
  border-color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.search {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 14px 10px 2px;
  font-size: 12px;
}

.search:focus {
  outline: none;
}

.search-wrap {
  width: 250px;
  border: 1.5px solid #d9c7ab;
  border-radius: 999px;
  background: #fffdf8;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  position: relative;
}

.search-icon {
  width: 15px;
  height: 15px;
  fill: #a39582;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  padding: 6px;
  display: none;
  z-index: 1100;
  max-height: 320px;
  overflow-y: auto;
}

.search-dropdown.open {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border-radius: 10px;
}

.search-item:hover {
  background: #fdf7ec;
}

.search-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.search-item-thumb-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
}

.search-item-name {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-price {
  font-size: 11px;
  color: var(--gold-dark);
  white-space: nowrap;
}

.search-empty {
  padding: 12px 11px;
  font-size: 12px;
  color: var(--muted);
}

.cart-icon {
  border: 0;
  border-radius: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  position: relative;
  background: transparent;
  color: var(--gold-dark);
}

.cart-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-dark);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  display: grid;
  place-items: center;
  line-height: 1;
}

.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.42)),
    linear-gradient(145deg, #d3c8b5 0%, #bda98d 55%, #a79073 100%);
}

.hero-content h1 {
  font-family: "Tenor Local", serif;
  font-size: clamp(74px, 10vw, 100px);
  font-weight: 300;
  letter-spacing: 1.7px;
  margin: 14px 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #d7bf99;
}

.subtext {
  color: #f5eee6;
  font-size: 19px;
  margin-bottom: 26px;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold-light);
  background: var(--gold-light);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border-color: #d8c8af;
}

.section {
  padding: 96px 0;
}

.section-title {
  font-family: "Tenor Local", serif;
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.section-head {
  margin-bottom: 26px;
}

.section-head p {
  color: var(--muted);
  margin-top: 8px;
}

.home-main-title {
  font-family: "Tenor Local", serif;
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
}

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

.sale-slider {
  overflow: hidden;
  border-radius: 0;
  line-height: 0;
}

.sale-track {
  display: flex;
  transition: transform 0.5s ease;
}

.sale-slide {
  min-width: 100%;
  display: block;
}

.sale-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.sale-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.sale-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #d7ccbc;
  cursor: pointer;
}

.sale-dot.active {
  background: var(--gold-dark);
}

.section-cta-center {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #d7cabc, #beae99);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 11px;
  border-radius: 16px;
}

.card-body {
  padding: 14px 2px 0;
}

.product-title {
  font-family: "Tenor Local", serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}

.price {
  color: var(--gold-dark);
  font-weight: 500;
}

.product-price {
  margin-bottom: 8px;
  font-size: 18px;
}

.product-category {
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #8f826f;
  margin-bottom: 4px;
}

.product-stock {
  font-size: 11px;
  color: #4f4a43;
}

.product-media {
  border-radius: 0;
}

.product-media-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.cta-box {
  margin-top: 70px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-footer {
  background: #070707;
  color: #fff;
  padding: 55px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 26px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-copy {
  font-size: 12px;
  color: #aeaeae;
}

.page-title {
  padding: 54px 0 30px;
  text-align: center;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
}

.filters {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  align-self: start;
}

.filters h4 {
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.filter-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px;
  font-size: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-item:hover,
.filter-item.active {
  border-color: var(--gold-light);
  color: var(--gold-dark);
  background: #fffaf1;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-page {
  padding-top: 200px;
  padding-bottom: 200px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8d8579;
  margin-bottom: 24px;
}

.gallery-main {
  border: 1px solid #ebe3d6;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
}

.gallery-main .img-placeholder {
  aspect-ratio: 0.79 / 1;
  border-radius: 0;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 0.79 / 1;
  object-fit: cover;
  display: block;
}

.thumbs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

.thumb {
  border: 1px solid #ded5c7;
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
}

.thumb .img-placeholder {
  border-radius: 0;
  font-size: 9px;
}

.thumb-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.thumb.is-active {
  border-color: #bda277;
}

.product-info h1 {
  font-family: "Geologica Local", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 14px;
}

.product-info .price {
  margin-bottom: 18px;
  display: block;
  font-size: 28px;
  color: #27221d;
  font-weight: 400;
}

.product-status {
  color: #8a8276;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
}

.product-description {
  color: #5f5851;
  line-height: 1.65;
  font-size: 14px;
  margin-bottom: 20px;
}

.spec-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-top: 16px;
  border-top: 1px solid #e5ddd1;
}

.specs {
  margin: 0 0 18px;
  padding-left: 16px;
  color: #5f5f5f;
  border-bottom: 1px solid #e5ddd1;
  padding-bottom: 16px;
}

.specs li {
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.product-btn {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  border-radius: 8px;
  font-size: 13px;
  padding: 13px 16px;
}

.product-btn.secondary {
  border-color: #363028;
  color: #28231d;
  background: #fff;
}

.product-benefits {
  margin-top: 18px;
  border-top: 1px solid #e5ddd1;
  padding-top: 16px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.benefit-item > span {
  color: #b39d7a;
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.benefit-item h5 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin-bottom: 4px;
}

.benefit-item p {
  color: #60584f;
  font-size: 13px;
  line-height: 1.5;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.panel {
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.panel h2 {
  font-family: "Tenor Local", serif;
  font-size: 28px;
  margin-bottom: 10px;
}

.about-grid {
  display: grid;
  gap: 20px;
}

.about-grid .muted {
  max-width: 860px;
  font-size: 14px;
}

.about-page {
  padding-top: 88px;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 46px;
}

.about-hero blockquote {
  font-family: "Tenor Local", serif;
  font-size: 22px;
  line-height: 1.45;
  color: #514639;
  border-left: 2px solid #d9c6a7;
  padding-left: 16px;
}

.about-hero-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e7dcc9;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about-copy-flow {
  max-width: 980px;
  margin-bottom: 34px;
}

.about-copy-block {
  margin-bottom: 22px;
}

.about-copy-block h2 {
  font-family: "Tenor Local", serif;
  font-size: 30px;
  margin-bottom: 14px;
}

.about-copy-block h3 {
  font-family: "Tenor Local", serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: #5e513f;
}

.about-copy-block p {
  color: #514b42;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-values-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 30px;
  padding-top: 10px;
}

.about-values-flow h3 {
  font-family: "Tenor Local", serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.about-values-flow p {
  font-size: 14px;
  color: #574f45;
  line-height: 1.7;
}

.about-image-strip figure {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e7ddd0;
}

.about-image-strip img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.cart-item-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item:last-child {
  border-bottom: 0;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.qty-control button {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  color: var(--gold-dark);
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 28px;
  margin-top: 20px;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-form .full {
  grid-column: 1 / -1;
}

.field {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  font-size: 14px;
  background: #fff;
  font-family: inherit;
}

.field:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 2px rgba(187, 162, 120, 0.15);
}

.checkbox {
  display: flex;
  gap: 8px;
  align-items: start;
  font-size: 12px;
  color: #656565;
  margin: 6px 0;
}

.empty-state {
  color: #666;
  padding: 18px 0;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #121212;
  color: #fff;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: 0.4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1200;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.privacy-page {
  max-width: none;
}

.privacy-page .section-title {
  margin-bottom: 16px;
}

.privacy-page h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-family: "Tenor Local", serif;
  font-weight: 400;
  font-size: 30px;
}

.cookie-box {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(92vw, 360px);
  background: #fff;
  border: 1px solid #ddd2c2;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  z-index: 1300;
}

.cookie-box p {
  font-size: 10px;
  line-height: 1.5;
  color: #4f4a43;
  margin-bottom: 8px;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.cookie-btn {
  border: 1px solid #d5c8b5;
  background: #fff;
  color: #3d372f;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 7px 10px;
  cursor: pointer;
}

.cookie-btn.primary {
  background: var(--gold-light);
  color: #fff;
  border-color: var(--gold-light);
}

.cookie-more {
  margin-top: 8px;
  display: inline-block;
  border: 1px solid #cfc1ad;
  border-radius: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 6px 10px;
}

.cookie-close {
  position: absolute;
  top: 6px;
  right: 7px;
  border: 0;
  background: transparent;
  color: #8d8478;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 980px) {
  .header-row {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .main-nav {
    order: 2;
    width: 100%;
    justify-self: start;
  }

  .header-actions {
    order: 3;
    justify-self: start;
    width: 100%;
  }

  .search-wrap {
    width: 100%;
  }

  .main-nav ul {
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .catalog-layout,
  .product-layout,
  .cart-layout,
  .products-grid,
  .footer-top,
  .cta-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-box {
    display: block;
  }

  .checkout-form {
    grid-template-columns: 1fr;
  }

  .product-info h1 {
    font-size: 36px;
  }

  .total-row {
    font-size: 24px;
  }

  .about-hero,
  .about-values-flow {
    grid-template-columns: 1fr;
  }

  .about-hero-media img {
    min-height: 280px;
  }
}

