/* ============================================
   Nat Bloom Studio — Styles
   Exact replica of Shopify "Studio" theme
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;1,300;1,700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Typography */
  --font-body-family: "Source Sans Pro", sans-serif;
  --font-body-style: normal;
  --font-body-weight: 300;
  --font-body-weight-bold: 600;
  --font-body-scale: 1.0;
  --font-heading-family: "Bodoni Moda", serif;
  --font-heading-style: normal;
  --font-heading-weight: 400;
  --font-heading-scale: 1.0;

  /* Colors (RGB triplets for rgba() usage) */
  --color-base-text: 126, 123, 75;
  --color-base-background-1: 255, 255, 255;
  --color-base-background-2: 126, 123, 75;
  --color-base-solid-button-labels: 126, 123, 75;
  --color-base-outline-button-labels: 255, 255, 255;
  --color-base-accent-1: 255, 255, 255;
  --color-base-accent-2: 255, 255, 255;
  --color-shadow: 126, 123, 75;

  /* Gradients */
  --gradient-base-background-1: #ffffff;
  --gradient-base-background-2: #7e7b4b;

  /* Layout */
  --page-width: 120rem;
  --page-width-margin: 0rem;
  --spacing-sections-desktop: 48px;
  --spacing-sections-mobile: 34px;
  --grid-desktop-vertical-spacing: 40px;
  --grid-desktop-horizontal-spacing: 40px;
  --grid-mobile-vertical-spacing: 20px;
  --grid-mobile-horizontal-spacing: 20px;

  /* Buttons */
  --buttons-radius: 16px;
  --buttons-radius-outset: 16px;
  --buttons-border-width: 0px;
  --buttons-border-opacity: 0;
  --buttons-shadow-opacity: 0.0;

  /* Inputs */
  --inputs-radius: 22px;
  --inputs-border-width: 0px;
  --inputs-border-opacity: 0.0;
  --inputs-shadow-opacity: 0.0;

  /* Cards */
  --collection-card-text-alignment: center;
  --blog-card-text-alignment: center;

  /* Media */
  --media-radius: 0px;
  --media-border-width: 0px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: calc(var(--font-body-scale) * 62.5%);
  height: 100%;
}

body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100%;
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.06rem;
  line-height: calc(1 + 0.8 / var(--font-body-scale));
  font-family: var(--font-body-family);
  font-style: var(--font-body-style);
  font-weight: var(--font-body-weight);
  color: rgba(var(--color-base-text), 0.75);
  background-color: rgb(var(--color-base-background-1));
}

@media screen and (min-width: 750px) {
  body {
    font-size: 1.6rem;
  }
}

/* --- Base Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading-family);
  font-style: var(--font-heading-style);
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-base-text));
  line-height: 1.3;
  letter-spacing: 0.06rem;
}

h1 {
  font-size: calc(var(--font-heading-scale) * 4rem);
  margin: 0 0 4rem;
  line-height: 1.3;
}

@media screen and (min-width: 750px) {
  h1 {
    font-size: calc(var(--font-heading-scale) * 5.2rem);
  }
}

h2 {
  font-size: calc(var(--font-heading-scale) * 2rem);
  margin: 0 0 1.5rem;
}

@media screen and (min-width: 750px) {
  h2 {
    font-size: calc(var(--font-heading-scale) * 2.4rem);
  }
}

h3 {
  font-size: calc(var(--font-heading-scale) * 1.7rem);
  margin: 0;
}

a {
  color: rgba(var(--color-base-text), 0.75);
  text-underline-offset: 0.3rem;
}

a:hover {
  color: rgba(var(--color-base-text), 1);
}

p {
  margin: 0 0 1.6rem;
}

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

/* --- Layout --- */
.page-width {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media screen and (min-width: 750px) {
  .page-width {
    padding: 0 5rem;
  }
}

.section-padding {
  padding-top: var(--spacing-sections-mobile);
  padding-bottom: var(--spacing-sections-mobile);
}

@media screen and (min-width: 750px) {
  .section-padding {
    padding-top: var(--spacing-sections-desktop);
    padding-bottom: var(--spacing-sections-desktop);
  }
}

.grid {
  display: grid;
  gap: var(--grid-mobile-vertical-spacing) var(--grid-mobile-horizontal-spacing);
}

@media screen and (min-width: 750px) {
  .grid {
    gap: var(--grid-desktop-vertical-spacing) var(--grid-desktop-horizontal-spacing);
  }
}

.grid--2-col {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-col {
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 750px) {
  .grid--3-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid--4-col {
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 750px) {
  .grid--4-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.center {
  text-align: center;
}

/* --- Buttons --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body-family);
  font-size: 1.5rem;
  font-weight: var(--font-body-weight);
  letter-spacing: 0.1rem;
  line-height: calc(1 + 0.2 / var(--font-body-scale));
  color: rgb(var(--color-base-solid-button-labels));
  background-color: transparent;
  border: 1px solid rgba(var(--color-base-text), 0.55);
  border-radius: var(--buttons-radius);
  padding: 0 3rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
  min-width: 12rem;
  min-height: 4.9rem;
}

.button:hover {
  background-color: rgb(var(--color-base-text));
  color: rgb(var(--color-base-background-1));
}

.button--solid {
  background-color: rgb(var(--color-base-text));
  color: rgb(var(--color-base-background-1));
  border-color: rgb(var(--color-base-text));
}

.button--solid:hover {
  background-color: rgba(var(--color-base-text), 0.85);
}

/* --- Forms --- */
.field {
  position: relative;
  margin-bottom: 2rem;
}

.field__input {
  width: 100%;
  padding: 1.5rem 2rem;
  font-family: var(--font-body-family);
  font-size: 1.6rem;
  font-weight: var(--font-body-weight);
  letter-spacing: 0.04rem;
  color: rgb(var(--color-base-text));
  background-color: rgb(var(--color-base-background-1));
  border: 1px solid rgba(var(--color-base-text), 0.2);
  border-radius: var(--inputs-radius);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}

.field__input:focus {
  outline: none;
  border-color: rgba(var(--color-base-text), 0.5);
}

.field__input::placeholder {
  color: rgba(var(--color-base-text), 0.5);
}

.field__label {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: rgba(var(--color-base-text), 0.5);
  pointer-events: none;
  transition: all 0.2s ease;
}

.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label {
  top: 0.4rem;
  transform: translateY(0);
  font-size: 1rem;
}

textarea.field__input {
  min-height: 10rem;
  resize: vertical;
}

textarea.field__input ~ .field__label {
  top: 1.5rem;
  transform: translateY(0);
}

textarea.field__input:focus ~ .field__label,
textarea.field__input:not(:placeholder-shown) ~ .field__label {
  top: 0.4rem;
  font-size: 1rem;
}

.form__grid {
  display: grid;
  gap: 0 2rem;
}

@media screen and (min-width: 750px) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form__grid .field--full {
  grid-column: 1 / -1;
}

/* --- Header --- */
.section-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgb(var(--color-base-background-1));
  margin-bottom: 15px;
}

@media screen and (min-width: 750px) {
  .section-header {
    margin-bottom: 20px;
  }
}

.header {
  padding: 10px 0;
  text-align: center;
}

@media screen and (min-width: 990px) {
  .header {
    padding: 20px 0;
  }
}

.header__logo {
  display: block;
  margin: 0 auto 1rem;
  max-width: 30rem;
}

.header__logo img {
  width: 100%;
  height: auto;
}

/* Desktop Navigation */
.header__nav {
  display: none;
  justify-content: center;
}

@media screen and (min-width: 990px) {
  .header__nav {
    display: flex;
  }
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
}

.nav-list__item {
  position: relative;
}

.nav-list__link {
  display: flex;
  align-items: center;
  padding: 1.2rem;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: var(--font-body-weight);
  letter-spacing: 0.06rem;
  color: rgba(var(--color-base-text), 0.85);
  line-height: calc(1 + 0.8 / var(--font-body-scale));
  transition: color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.nav-list__link:hover,
.nav-list__link--active {
  color: rgb(var(--color-base-text));
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

/* Gallery Dropdown */
.nav-list__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(var(--color-base-background-1));
  border: 1px solid rgba(var(--color-base-text), 0.08);
  padding: 1rem 0;
  min-width: 16rem;
  z-index: 100;
  list-style: none;
  text-align: left;
}

.nav-list__item--dropdown:hover .nav-list__dropdown,
.nav-list__item--dropdown:focus-within .nav-list__dropdown {
  display: block;
}

.nav-list__dropdown-link {
  display: block;
  padding: 0.6rem 2rem;
  text-decoration: none;
  font-size: 1.4rem;
  color: rgba(var(--color-base-text), 0.75);
  white-space: nowrap;
}

.nav-list__dropdown-link:hover {
  color: rgb(var(--color-base-text));
}

.nav-list__chevron {
  width: 0.6rem;
  height: 0.6rem;
  margin-left: 0.5rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  position: relative;
  top: -1px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  color: rgb(var(--color-base-text));
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

@media screen and (min-width: 990px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 2.2rem;
  height: 2.2rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  visibility: hidden;
  transition: visibility 0.3s;
}

.mobile-drawer.is-open {
  visibility: visible;
}

.mobile-drawer__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open .mobile-drawer__overlay {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 35rem;
  height: 100%;
  background-color: rgb(var(--color-base-background-1));
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.8rem;
  cursor: pointer;
  color: rgb(var(--color-base-text));
  margin-bottom: 2rem;
}

.mobile-drawer__close svg {
  width: 2rem;
  height: 2rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list__link {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: var(--font-body-weight);
  letter-spacing: 0.06rem;
  color: rgb(var(--color-base-text));
  border-bottom: 1px solid rgba(var(--color-base-text), 0.08);
  line-height: calc(1 + 0.8 / var(--font-body-scale));
}

.mobile-nav-list__subnav {
  list-style: none;
  padding: 0 0 0 2rem;
  margin: 0;
  display: none;
}

.mobile-nav-list__subnav.is-open {
  display: block;
}

.mobile-nav-list__subnav .mobile-nav-list__link {
  font-size: 1.6rem;
  color: rgba(var(--color-base-text), 0.75);
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  font-size: 1.8rem;
  font-family: var(--font-body-family);
  font-weight: var(--font-body-weight);
  letter-spacing: 0.06rem;
  color: rgb(var(--color-base-text));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(var(--color-base-text), 0.08);
  line-height: calc(1 + 0.8 / var(--font-body-scale));
}

.header__wrapper {
  position: relative;
  padding: 0 1.5rem;
}

@media screen and (min-width: 750px) {
  .header__wrapper {
    padding: 0 5rem;
  }
}

/* --- Slideshow --- */
.slideshow {
  position: relative;
  overflow: hidden;
  max-width: var(--page-width);
  margin: 0 auto;
}

.slideshow__container {
  position: relative;
  width: 100%;
  aspect-ratio: 2.62 / 1;
}

@media screen and (max-width: 749px) {
  .slideshow__container {
    aspect-ratio: 16 / 9;
  }
}

.slideshow__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slideshow__slide.is-active {
  opacity: 1;
}

.slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.5rem 0;
}

.slideshow__dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-base-text), 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.slideshow__dot.is-active {
  background-color: rgb(var(--color-base-text));
  border-color: rgb(var(--color-base-text));
}

.slideshow__arrow {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(var(--color-base-text), 0.5);
  padding: 0.5rem;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
}

.slideshow__arrow:hover {
  color: rgb(var(--color-base-text));
}

.slideshow__arrow svg {
  width: 1.2rem;
  height: 1.2rem;
}

.slideshow__pause {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(var(--color-base-text), 0.5);
  padding: 0.5rem;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
}

.slideshow__pause:hover {
  color: rgb(var(--color-base-text));
}

.slideshow__pause svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* --- Collection List --- */
.collection-list {
  padding-top: 12px;
  padding-bottom: 12px;
}

@media screen and (min-width: 750px) {
  .collection-list {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}

.collection-card {
  text-decoration: none;
  display: block;
  text-align: var(--collection-card-text-alignment);
}

.collection-card__image {
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 1 / 1;
}

.collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.collection-card:hover .collection-card__image img {
  transform: scale(1.02);
}

.collection-card__title {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: calc(var(--font-heading-scale) * 1.8rem);
  color: rgb(var(--color-base-text));
  text-decoration: none;
}

.collection-card__title a {
  text-decoration: none;
  color: inherit;
}

.view-all-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* --- Blog Section --- */
.blog-section {
  padding-top: 27px;
  padding-bottom: 27px;
}

@media screen and (min-width: 750px) {
  .blog-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }
}

.blog-card {
  text-decoration: none;
  display: block;
  text-align: var(--blog-card-text-alignment);
}

.blog-card__image {
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 5 / 3;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-card__title {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: calc(var(--font-heading-scale) * 1.8rem);
  color: rgb(var(--color-base-text));
}

.blog-card__title a {
  text-decoration: none;
  color: inherit;
}

/* --- Footer --- */
.footer {
  margin-top: 0;
}

.footer__newsletter {
  text-align: center;
  padding-top: 33px;
  padding-bottom: 24px;
}

@media screen and (min-width: 750px) {
  .footer__newsletter {
    padding-top: 44px;
    padding-bottom: 32px;
  }
}

.footer__newsletter-heading {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: calc(var(--font-heading-scale) * 1.6rem);
  margin-bottom: 2rem;
}

@media screen and (min-width: 750px) {
  .footer__newsletter-heading {
    font-size: calc(var(--font-heading-scale) * 1.8rem);
  }
}

.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 36rem;
  margin: 0 auto;
}

.newsletter-form__input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-family: var(--font-body-family);
  font-size: 1.4rem;
  font-weight: var(--font-body-weight);
  letter-spacing: 0.04rem;
  color: rgb(var(--color-base-text));
  background-color: rgb(var(--color-base-background-1));
  border: 1px solid rgba(var(--color-base-text), 0.2);
  border-radius: var(--inputs-radius) 0 0 var(--inputs-radius);
  appearance: none;
  -webkit-appearance: none;
}

.newsletter-form__input::placeholder {
  color: rgba(var(--color-base-text), 0.5);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: rgba(var(--color-base-text), 0.5);
}

.newsletter-form__button {
  background: none;
  border: 1px solid rgba(var(--color-base-text), 0.2);
  border-left: none;
  border-radius: 0 var(--inputs-radius) var(--inputs-radius) 0;
  padding: 0 1.5rem;
  cursor: pointer;
  color: rgb(var(--color-base-text));
  display: flex;
  align-items: center;
}

.newsletter-form__button:hover {
  color: rgba(var(--color-base-text), 0.7);
}

.newsletter-form__button svg {
  width: 1.4rem;
  height: 1.4rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
}

@media screen and (min-width: 750px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__social {
  display: flex;
  gap: 1.5rem;
}

.footer__social a {
  color: rgb(var(--color-base-text));
  text-decoration: none;
}

.footer__social a:hover {
  color: rgba(var(--color-base-text), 0.7);
}

.footer__social svg {
  width: 2.4rem;
  height: 2.4rem;
}

.footer__copyright {
  font-size: 1.1rem;
  color: rgba(var(--color-base-text), 0.75);
  text-align: center;
}

.footer__copyright a {
  color: rgba(var(--color-base-text), 0.75);
  text-decoration: none;
}

.footer__copyright a:hover {
  text-decoration: underline;
}

/* --- Page Header --- */
.page-header {
  text-align: left;
  padding: 2rem 0 1rem;
}

@media screen and (min-width: 750px) {
  .page-header {
    padding: 4rem 0 2rem;
  }
}

.page-header h1 {
  margin-bottom: 0;
}

/* --- About Page --- */
.about-content {
  max-width: 72.6rem;
  margin: 0 auto;
  padding-bottom: 4rem;
  text-align: center;
}

.about-content__image {
  width: 16rem;
  margin-bottom: 2rem;
}

@media screen and (min-width: 750px) {
  .about-content__image {
    width: 20.5rem;
  }
}

.about-content__text {
  text-align: left;
}

.about-content__text p {
  line-height: calc(1 + 0.8 / var(--font-body-scale));
}

.about-content__text a {
  color: rgb(var(--color-base-text));
  font-weight: var(--font-body-weight-bold);
}

/* --- Contact Form --- */
.contact-section {
  max-width: 80rem;
  padding-bottom: 4rem;
}

/* --- Paintings Grid --- */
.paintings-grid {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.painting-card {
  text-decoration: none;
  display: block;
}

.painting-card__image {
  overflow: hidden;
  margin-bottom: 1rem;
}

.painting-card__image img {
  width: 100%;
  height: auto;
}

.painting-card__title {
  font-family: var(--font-heading-family);
  font-size: 1.8rem;
  font-weight: var(--font-heading-weight);
  color: rgb(var(--color-base-text));
  letter-spacing: 0.06rem;
  text-align: left;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 0;
  list-style: none;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  text-decoration: none;
  color: rgb(var(--color-base-text));
  font-size: 1.4rem;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.pagination__link:hover {
  background-color: rgba(var(--color-base-text), 0.05);
}

.pagination__link--active {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.pagination__link--arrow {
  font-size: 1.2rem;
}

.pagination__link--arrow svg {
  width: 0.8rem;
  height: 0.8rem;
}

/* --- Blog Article --- */
.article {
  max-width: 80rem;
  padding-bottom: 4rem;
}

.article__header {
  text-align: center;
  margin-bottom: 3rem;
}

.article__meta {
  font-size: 1.3rem;
  color: rgba(var(--color-base-text), 0.6);
  margin-bottom: 0.5rem;
}

.article__image {
  margin-bottom: 3rem;
}

.article__image img {
  width: 100%;
  height: auto;
}

.article__body img {
  margin: 2rem 0;
  width: 100%;
  height: auto;
}

.article__back {
  display: inline-block;
  margin-top: 3rem;
  text-decoration: none;
  color: rgba(var(--color-base-text), 0.75);
  font-size: 1.4rem;
}

.article__back:hover {
  color: rgb(var(--color-base-text));
  text-decoration: underline;
}

/* --- Greeting Cards --- */
.product-section {
  padding-bottom: 4rem;
}

.product-layout {
  display: grid;
  gap: 3rem;
}

@media screen and (min-width: 750px) {
  .product-layout {
    grid-template-columns: 65fr 35fr;
    gap: 5rem;
  }
}

.product-gallery {
  display: grid;
  gap: 1rem;
}

.product-gallery img {
  width: 100%;
  height: auto;
}

.product-info {
  padding-top: 1rem;
}

@media screen and (min-width: 750px) {
  .product-info {
    position: sticky;
    top: 10rem;
    align-self: start;
  }
}

.product-info__title {
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
  font-size: calc(var(--font-heading-scale) * 2.4rem);
  margin-bottom: 2rem;
  color: rgb(var(--color-base-text));
  line-height: 1.3;
}

.product-info__description p {
  margin: 0 0 0.2rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* --- Utility --- */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  word-wrap: normal !important;
}

.no-scroll {
  overflow: hidden;
}
