@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --black: #24211d;
  --black-soft: #faf8f4;
  --gold: #80612f;
  --accent: #c2a36b;
  --cream: #24211d;
  --muted: #67625b;
  --line: #e6e0d7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
}

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

.topline {
  padding: 10px 16px;
  background: var(--accent);
  color: var(--black);
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.header {
  min-height: 82px;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}

.logo img {
  display: block;
  width: 160px;
  height: 60px;
  object-fit: contain;
  background: white;
}

.navigation,
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navigation a,
.cart-link {
  font-size: 15px;
  color: #39352f;
}

.navigation a:hover,
.cart-link:hover {
  color: var(--gold);
}

.header-actions {
  gap: 16px;
}

.language {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 12px;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-size: 14px;
}

.hero {
  width: min(1180px, 90%);
  min-height: 610px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding: 58px 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.2em;
}

h1 {
  margin: 24px 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.02;
}

.intro {
  max-width: 470px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 15px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: 0.2s;
}

.button-gold {
  background: var(--accent);
  color: var(--black);
}

.button-gold:hover {
  background: #d2b982;
}

.button-outline {
  border: 1px solid #777067;
  color: var(--cream);
}

.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.features {
  display: flex;
  gap: 30px;
  margin-top: 44px;
}

.features div {
  display: grid;
  gap: 5px;
}

.features strong {
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
}

.features span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  min-height: 440px;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(ellipse, #f3e8d4 0%, #fcfaf6 36%, transparent 70%);
}

.gold-circle {
  position: absolute;
  width: min(350px, 80%);
  aspect-ratio: 1;
  border: 1px solid #c2a36b55;
  border-radius: 50%;
}

.gold-circle::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid #c2a36b33;
  border-radius: 50%;
}

.bottle {
  position: relative;
  width: 155px;
  height: 230px;
  margin-top: 40px;
  border: 1px solid #d3bc8a;
  border-radius: 24px 24px 32px 32px;
  background: linear-gradient(90deg, #795e35, #e4cc98 23%, #d7bd85 55%, #76592e);
  box-shadow: 20px 25px 45px #0009, inset 8px 0 12px #fff4;
  transform: rotate(-5deg);
}

.bottle-cap {
  position: absolute;
  width: 65px;
  height: 55px;
  top: -53px;
  left: 44px;
  border: 1px solid #d8c18f;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(90deg, #62502e, #d6c18e, #67502b);
}

.bottle-label {
  position: absolute;
  top: 78px;
  left: 15px;
  right: 15px;
  padding: 15px 5px;
  border: 1px solid #775d38;
  background: #eee2c8;
  color: #493a26;
  text-align: center;
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0.14em;
  font-size: 16px;
  line-height: 1.5;
}

.bottle-label small {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
}

.bottle-shine {
  position: absolute;
  width: 7px;
  height: 110px;
  top: 45px;
  left: 24px;
  border-radius: 10px;
  background: #fff5;
}

.visual-caption {
  position: absolute;
  right: 2%;
  bottom: 35px;
  padding: 13px 18px;
  background: #f5eee2;
  color: #493a26;
  font-family: "Montserrat", Arial, sans-serif;
  font-style: italic;
  font-size: 16px;
}

.intro-strip {
  min-height: 74px;
  padding: 15px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
}

.intro-strip p {
  margin: 0;
}

.intro-strip span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.footer {
  min-height: 72px;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer span:first-child {
  color: var(--cream);
  letter-spacing: 0.12em;
}

@media (max-width: 800px) {
  .navigation {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 30px;
  }

  .hero-visual {
    min-height: 360px;
    grid-row: 1;
  }

  .hero-text {
    grid-row: 2;
  }
}

@media (max-width: 520px) {
  .header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .logo img {
    width: 125px;
    height: 46px;
  }

  .header-actions {
    gap: 9px;
  }

  .cart-link {
    font-size: 0;
  }

  .cart-link .cart-count {
    font-size: 14px;
  }

  .hero {
    width: calc(100% - 32px);
    min-height: 0;
    padding: 20px 0 40px;
  }

  .hero-visual {
    min-height: 300px;
  }

  h1 {
    font-size: 52px;
  }

  .intro {
    font-size: 16px;
  }

  .features {
    gap: 19px;
    margin-top: 32px;
  }

  .features strong {
    font-size: 20px;
  }

  .intro-strip {
    gap: 13px;
    flex-wrap: wrap;
    font-size: 14px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}
.hero-photo {
  display: block;
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  filter: drop-shadow(0 20px 28px rgba(73, 58, 38, 0.12));
}

@media (max-width: 768px) {
  .hero-photo {
    width: min(85vw, 360px);
  }
}
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.visual-caption {
  position: static;
  transform: none;
  max-width: 100%;
  text-align: center;
}
.catalog-page {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 70px 0 90px;
  color: #24211d;
}

.catalog-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.catalog-heading h1 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 58px);
}

.catalog-description {
  color: #67625b;
  line-height: 1.7;
}

.catalog-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(480px, 100%);
  margin: 28px auto 14px;
  padding: 14px 18px;
  border: 1px solid #d9cbb3;
  border-radius: 8px;
  background: #faf8f4;
  color: #80612f;
}

.catalog-search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #24211d;
  font: inherit;
}

.catalog-search-wrap input::placeholder {
  color: #716a60;
}

.catalog-count {
  color: #716a60;
  font-size: 16px;
}

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

.perfume-card {
  overflow: hidden;
  border: 1px solid #e6e0d7;
  border-radius: 10px;
  background: #faf8f4;
  color: #24211d;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.perfume-card:hover {
  transform: translateY(-5px);
  border-color: #b99755;
}

.perfume-card-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, #f1e5ce 0, #faf8f4 38%, #ffffff 75%);
}

.perfume-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.perfume-image-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  color: #80612f;
  font: 16px "Montserrat", Arial, sans-serif;
  letter-spacing: 5px;
}

.perfume-card-info {
  padding: 18px;
}

.perfume-brand {
  margin: 0 0 8px;
  color: #80612f;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.perfume-card-info h2 {
  min-height: 48px;
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.4;
}

.perfume-price {
  color: #80612f;
  font-size: 16px;
}

.no-results {
  padding: 35px 0;
  color: #67625b;
  text-align: center;
}

@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .catalog-page {
    padding: 45px 0 65px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .perfume-card-info {
    padding: 13px;
  }

  .perfume-card-info h2 {
    min-height: 58px;
    font-size: 17px;
  }

  .perfume-brand {
    font-size: 14px;
  }
}
.product-page {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 35px 0 80px;
  color: #24211d;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #80612f;
  text-decoration: none;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 55px;
  align-items: start;
}

.product-photo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid #e6e0d7;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 38%, #f1e5ce, #faf8f4 70%);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  color: #80612f;
  font: 20px "Montserrat", Arial, sans-serif;
  letter-spacing: 6px;
}

.product-brand {
  margin: 8px 0;
  color: #80612f;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-info h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
}

.product-description {
  color: #67625b;
  line-height: 1.7;
}

.notes-box {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid #e6e0d7;
  border-radius: 10px;
  background: #faf8f4;
}

.notes-box h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.note-row {
  display: grid;
  gap: 5px;
  padding: 12px 0;
  border-top: 1px solid #e6e0d7;
}

.note-row strong {
  color: #80612f;
  font-size: 16px;
}

.note-row span {
  color: #67625b;
  font-size: 16px;
}

.order-options {
  display: grid;
  gap: 10px;
}

.order-options label {
  margin-top: 8px;
  color: #80612f;
}

.order-options select {
  width: 100%;
  padding: 13px;
  border: 1px solid #d9cbb3;
  border-radius: 7px;
  background: #faf8f4;
  color: #24211d;
  font: inherit;
}

.product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0 0;
  font-size: 20px;
}

.product-price strong {
  color: #80612f;
  font-size: 26px;
}

.free-delivery {
  color: #67625b;
  font-size: 16px;
}

.add-to-cart {
  width: 100%;
  cursor: pointer;
}

.cart-message {
  min-height: 20px;
  color: #80612f;
  text-align: center;
}

@media (max-width: 760px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-photo-wrap {
    width: min(100%, 480px);
    margin: 0 auto;
  }
}
.cart-page {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 55px 0 85px;
  color: #24211d;
}

.cart-page > h1 {
  margin: 8px 0 30px;
  font-size: clamp(34px, 5vw, 52px);
}

.cart-empty {
  padding: 40px 20px;
  border: 1px solid #e6e0d7;
  border-radius: 10px;
  background: #faf8f4;
  text-align: center;
}

.cart-empty p {
  margin-bottom: 24px;
  color: #67625b;
}

.cart-content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  align-items: start;
  gap: 28px;
}

.cart-items {
  display: grid;
  gap: 14px;
}

.cart-item,
.checkout-box {
  padding: 22px;
  border: 1px solid #e6e0d7;
  border-radius: 10px;
  background: #faf8f4;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.cart-item-info h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.cart-item-info > p:not(.perfume-brand) {
  color: #67625b;
}

.cart-item-info > strong {
  color: #80612f;
}

.cart-item-actions {
  display: grid;
  justify-items: end;
  align-content: space-between;
  gap: 12px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quantity-control button {
  width: 34px;
  height: 34px;
  border: 1px solid #d9cbb3;
  border-radius: 6px;
  background: transparent;
  color: #80612f;
  font-size: 22px;
  cursor: pointer;
}

.remove-item {
  border: 0;
  background: none;
  color: #67625b;
  text-decoration: underline;
  cursor: pointer;
}

.checkout-box {
  display: grid;
  gap: 12px;
}

.checkout-box h2 {
  margin: 0 0 8px;
  font-size: 23px;
}

.checkout-box label {
  margin-top: 7px;
  color: #80612f;
}

.checkout-box input,
.checkout-box textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d9cbb3;
  border-radius: 7px;
  background: #ffffff;
  color: #24211d;
  font: inherit;
  resize: vertical;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #e6e0d7;
  font-size: 20px;
}

.cart-total strong {
  color: #80612f;
  font-size: 26px;
}

.whatsapp-order {
  width: 100%;
  cursor: pointer;
}

@media (max-width: 760px) {
  .cart-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cart-item {
    padding: 16px;
  }

  .cart-item-info h2 {
    font-size: 18px;
  }

  .quantity-control {
    gap: 8px;
  }
}
.header .cart-link {
  position: fixed !important;
  top: auto !important;
  right: auto !important;
  bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid #80612f;
  border-radius: 30px;
  background: #80612f;
  color: #15120c;
  box-shadow: 0 6px 24px #493a2620;
}

body {
  padding-bottom: 80px;
}
/* Телефонға бейімдеу */
* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

@media (max-width: 760px) {
  .topline {
    padding: 9px 12px;
    text-align: center;
    font-size: 14px;
  }

  .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 4%;
  }

  .logo img {
    width: 125px;
    height: auto;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .language {
    padding: 8px;
    font-size: 14px;
  }

  .navigation {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    width: 100%;
  }

  .navigation a {
    font-size: 15px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    width: 92%;
    margin: 0 auto;
    padding: 38px 0;
  }

  .hero-text,
  .hero-visual {
    min-width: 0;
    width: 100%;
  }

  .hero-text h1 {
    font-size: clamp(38px, 12vw, 56px);
    line-height: 1.05;
  }

  .intro {
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-buttons .button {
    width: 100%;
    text-align: center;
  }

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

  .features > div {
    min-width: 0;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 0;
  }

  .hero-photo {
    width: min(85vw, 360px);
    height: auto;
  }

  .visual-caption {
    position: static;
    transform: none;
    max-width: 100%;
    text-align: center;
  }

  .intro-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    padding: 18px 4%;
    text-align: center;
  }

  .intro-strip span {
    display: none;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 5% 95px;
    text-align: center;
  }

  .catalog-page,
  .product-page,
  .cart-page {
    width: 92%;
    padding-top: 35px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .perfume-card-info {
    padding: 12px;
  }

  .perfume-card-info h2 {
    font-size: 17px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .product-photo-wrap {
    width: min(100%, 460px);
    margin: 0 auto;
  }

  .cart-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .checkout-box,
  .cart-item {
    padding: 16px;
  }

  .header .cart-link {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 9999;
    justify-content: center;
    min-width: 190px;
    padding: 13px 22px;
    border: 1px solid #80612f;
    border-radius: 30px;
    background: #80612f;
    color: #15120c;
    box-shadow: 0 6px 24px #493a2620;
  }
}

@media (max-width: 380px) {
  .navigation {
    gap: 9px 13px;
  }

  .navigation a {
    font-size: 14px;
  }

  .catalog-grid {
    gap: 9px;
  }

  .perfume-card-info h2 {
    font-size: 16px;
  }
}
/* Телефонда ноутбуктағы орналасуға жақын ықшам көрініс */
@media (max-width: 800px) {
  .header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 4%;
  }

  .navigation {
    display: flex;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    width: 100%;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 10px;
    width: 94%;
    min-height: 0;
    padding: 20px 0;
  }

  .hero-text,
  .hero-visual {
    grid-row: auto;
    min-width: 0;
  }

  .hero-visual {
    min-height: 0;
    background: none;
  }
}

@media (max-width: 520px) {
  .logo img {
    width: 90px;
    height: 38px;
  }

  .navigation {
    gap: 7px 12px;
  }

  .navigation a {
    font-size: 14px;
  }

  .language {
    padding: 7px 8px;
    font-size: 14px;
  }

  .hero {
    gap: 8px;
    padding: 14px 0 22px;
  }

  .hero-text .eyebrow {
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .hero-text h1 {
    margin: 10px 0;
    font-size: clamp(22px, 6vw, 29px);
    line-height: 1.08;
  }

  .intro {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-buttons {
    gap: 7px;
    margin-top: 12px;
  }

  .hero-buttons .button {
    min-height: 0;
    padding: 9px 7px;
    font-size: 14px;
    text-align: center;
  }

  .features {
    gap: 7px;
    margin-top: 16px;
  }

  .features strong {
    font-size: 15px;
  }

  .features span {
    font-size: 14px;
  }

  .hero-photo {
    width: 100%;
    max-width: 190px;
    height: auto;
  }

  .visual-caption {
    padding: 6px 8px;
    font-size: 14px;
  }

  .intro-strip {
    gap: 7px 10px;
    padding: 12px 4%;
    font-size: 14px;
  }

  .catalog-page,
  .product-page,
  .cart-page {
    width: 94%;
    padding-top: 22px;
  }

  .catalog-heading {
    margin-bottom: 22px;
  }

  .catalog-heading h1 {
    font-size: 27px;
  }

  .catalog-description {
    font-size: 14px;
  }

  .catalog-search-wrap {
    margin: 18px auto 10px;
    padding: 10px 12px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .perfume-card-image {
    aspect-ratio: 1.15 / 1;
  }

  .perfume-card-info {
    padding: 9px;
  }

  .perfume-brand {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .perfume-card-info h2 {
    min-height: 0;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .perfume-price {
    font-size: 14px;
  }

  .header .cart-link {
    bottom: calc(9px + env(safe-area-inset-bottom)) !important;
    min-width: 145px;
    padding: 9px 16px;
    font-size: 14px;
  }

  .header .cart-link .cart-count {
    font-size: 14px;
  }

  body {
    padding-bottom: 58px;
  }
}
.perfume-card-image img,
.product-photo {
  object-fit: contain;
  padding: 12px;
}
.catalog-grid .perfume-card-image img {
  object-fit: contain !important;
  object-position: center;
  padding: 8px;
}

@media (max-width: 600px) {
  .catalog-grid .perfume-card-image {
    aspect-ratio: 4 / 5;
  }
}
.catalog-grid .perfume-card-image {
  aspect-ratio: 3 / 4;
}

.catalog-grid .perfume-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  padding: 0;
}

/* White and gold identity: shared by every page. */
.contacts-intro h1 {
  color: #24211d !important;
}

.contacts-description {
  color: #67625b !important;
}

.contact-card {
  border: 1px solid #e6e0d7 !important;
  background: #faf8f4 !important;
}

.contact-card-main {
  border-color: #d9cbb3 !important;
  background: linear-gradient(140deg, #f5ecdc, #faf8f4) !important;
}

.contact-card h2 {
  color: #24211d !important;
}

.contact-card p {
  color: #67625b !important;
}

.contact-phone {
  color: #80612f !important;
}

.contact-detail {
  border-bottom: 1px solid #e6e0d7 !important;
}

.contact-detail h3 {
  color: #80612f !important;
}

.contact-detail strong {
  color: #24211d !important;
}

.contact-bottom {
  color: #67625b !important;
}

.contact-bottom a {
  color: #80612f !important;
}

.order-hint {
  color: #67625b !important;
}

.order-error {
  color: #a12c2c !important;
}

.about-intro h1 {
  color: #24211d !important;
}

.about-intro .about-description {
  color: #67625b !important;
}

.about-facts span {
  border: 1px solid #d9cbb3 !important;
  color: #80612f !important;
}

.about-section-title {
  color: #24211d !important;
}

.about-step {
  border: 1px solid #e6e0d7 !important;
  background: #faf8f4 !important;
}

.about-step-number {
  border: 1px solid #d9cbb3 !important;
  color: #80612f !important;
}

.about-step h3 {
  color: #24211d !important;
}

.about-step p {
  color: #67625b !important;
}

.about-help {
  border: 1px solid #d9cbb3 !important;
  background: linear-gradient(135deg, #f5ecdc, #faf8f4) !important;
}

.about-help h2 {
  color: #24211d !important;
}

.about-help p {
  color: #67625b !important;
}

.accords-box,
    .notes-box {
  border: 1px solid #e6e0d7 !important;
  background: #faf8f4 !important;
}

.accords-box h2,
    .notes-box h2 {
  color: #24211d !important;
}

.accord-info {
  color: #67625b !important;
}

.accord-info a {
  color: #80612f !important;
}

.note-row {
  border-top: 1px solid #e6e0d7 !important;
}

.note-row strong {
  color: #80612f !important;
}

.note-row span {
  color: #67625b !important;
}

:root { color-scheme: light; }
.header { background: #ffffff; }
.logo img { background: transparent; }
.hero-visual { background: none; }
.button-gold { background: var(--accent); color: #24211d; }
.button-gold:hover { background: #d2b982; }
.button-outline { border-color: #cbbda5; }
.header .cart-link { background: #c2a36b; border-color: #b3955e; color: #24211d; }
.cart-count { background: #b99a60; color: #24211d; }
.language:hover { border-color: #b3955e; }
.perfume-card:hover { box-shadow: 0 8px 24px #493a2610; }
input::placeholder, textarea::placeholder { color: #716a60; opacity: 1; }
input:focus, textarea:focus, select:focus { outline: 2px solid #b3955e; outline-offset: 3px; }

.contact-label { color: #80612f !important; }

/* Consistent typography for text and form controls. */
body, button, input, textarea, select {
  font-family: "Montserrat", Arial, sans-serif;
}
.about-intro h1, .contacts-intro h1, h1, h2, h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 500;
}

/* Larger, readable text and illustrated fragrance notes. */
body { font-size: 16px; line-height: 1.6; }
button, input, select, textarea { font-size: 16px; }
.topline, .navigation a, .language { font-size: 14px; }
.intro, .product-intro, .catalog-description { font-size: 17px; }
.about-intro .about-description { font-size: 17px; margin: 0 0 20px; }
.about-step p, .about-help p, .contacts-description, .contact-card p { font-size: 16px; }
.order-hint, .order-error, .accord-info { font-size: 14px; }
.note-row { gap: 16px; }
.note-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 14px 10px; }
.note-card { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; min-width: 0; }
.note-card img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #fff; }
.note-card figcaption { font-size: 14px; line-height: 1.45; color: #39352f; overflow-wrap: anywhere; }
.notes-credit { margin: 20px 0 0; font-size: 13px; color: #67625b; }
.notes-credit a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; gap: 28px; width: 92%; padding: 28px 0 36px; }
  .hero-text { grid-row: 1; }
  .hero-visual { grid-row: 2; }
  .hero-text h1 { font-size: clamp(32px, 9vw, 42px); line-height: 1.15; margin: 18px 0; }
  .hero-text .eyebrow { font-size: 12px; letter-spacing: .08em; }
  .hero-text .intro { font-size: 16px; line-height: 1.8; }
  .hero-buttons .button { font-size: 16px; min-height: 50px; }
  .hero-photo { width: min(100%, 420px); }
  .visual-caption { font-size: 16px; }
  .logo img { width: 125px; height: 52px; }
  .navigation { gap: 10px 16px; }
  .navigation a, .language { font-size: 14px; }
  .features strong { font-size: 23px; }
  .features span, .footer { font-size: 14px; }
  .intro-strip { font-size: 16px; }
  .perfume-card-info h2 { font-size: 16px; line-height: 1.4; }
  .perfume-brand, .perfume-price { font-size: 14px; }
  .about-intro h1, .contacts-intro h1 { font-size: 32px; overflow-wrap: anywhere; }
}

.about-page .about-description { font-size: 17px !important; margin-bottom: 20px; }
.about-page .about-step p, .about-page .about-help p, .contacts-page .contact-card p, .contacts-page .contacts-description { font-size: 16px !important; }
.contacts-page .contact-label, .about-page .about-facts span, .about-page .about-step-number { font-size: 14px !important; }
.accord-bars .accord-bar { font-size: 15px !important; }
.product-page .accord-info, .cart-page .order-hint, .cart-page .order-error { font-size: 14px !important; }

/* Keep feature labels separated on narrow phone screens. */
@media (max-width: 600px) {
  .features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 12px;
    align-items: start;
  }
  .features > div { min-width: 0; gap: 8px; }
  .features strong {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .features span { font-size: 14px; line-height: 1.5; }
}

/* Prevent the heading and feature labels from crossing columns. */
.hero-text, .hero-visual { min-width: 0; }
.hero-text h1 {
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.features > div { min-width: 0; }
.features strong { font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; width: 92%; padding: 28px 0 36px; }
  .hero-text { grid-row: 1; }
  .hero-visual { grid-row: 2; }
  .hero-text h1 { font-size: clamp(30px, 5.5vw, 42px); line-height: 1.2; }
  .hero-photo { width: min(100%, 430px); }
  .features { gap: 12px; }
  .features strong { font-size: 16px; }
  .features span { font-size: 14px; line-height: 1.5; }
}
