
/* =========================================
   KAEM CAKE - COMPLETE WEBSITE DESIGN
   Cream • Blush Pink • Chocolate Brown
========================================= */

:root {
  --cream: #fffaf5;
  --cream-dark: #f8eee7;
  --pink: #f1d9d5;
  --pink-light: #f9eae7;
  --rose: #c58f88;
  --brown: #63443b;
  --brown-dark: #432d27;
  --text: #705b53;
  --muted: #9b8980;
  --white: #ffffff;
  --border: #eadbd2;
  --shadow: 0 12px 35px rgba(87, 55, 43, 0.09);
  --radius: 20px;
  --heading: "Playfair Display", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open,
body.cart-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--pink);
  color: var(--brown-dark);
}

/* =========================================
   HEADER
========================================= */

.header {
  height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: rgba(255, 250, 245, 0.96);
  border-bottom: 1px solid rgba(234, 219, 210, 0.7);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
}

.logo {
  font-family: var(--heading);
  color: var(--brown-dark);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.logo span {
  color: var(--rose);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose);
  transition: width .2s;
}

.nav a:hover {
  color: var(--rose);
}

.nav a:hover::after {
  width: 100%;
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brown);
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s;
}

.cart-button:hover {
  background: var(--pink-light);
  border-color: var(--rose);
  transform: translateY(-2px);
}

#cartCount {
  background: var(--rose);
  color: white;
  min-width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  color: var(--brown);
  font-size: 25px;
}

/* =========================================
   HERO
========================================= */

.hero {
  padding: 75px 8% 85px;
  min-height: 610px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
  background:
    radial-gradient(circle at 90% 15%, #f7e7df 0, transparent 28%),
    var(--cream);
}

.hero-content {
  max-width: 570px;
}

.eyebrow {
  display: inline-block;
  color: var(--rose);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--heading);
  color: var(--brown-dark);
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 1.13;
  letter-spacing: -1.8px;
  margin-bottom: 23px;
}

.hero h1 span,
.section-heading h2 span,
.about-content h2 span {
  color: var(--rose);
  font-style: italic;
}

.hero-content > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.primary-button,
.secondary-button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}

.primary-button {
  border: 1px solid var(--brown);
  background: var(--brown);
  color: white;
}

.primary-button:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 45, 39, .16);
}

.secondary-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--brown);
}

.secondary-button:hover {
  background: var(--pink-light);
  border-color: var(--rose);
}

.hero-note {
  margin-top: 27px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .3px;
}

.hero-image {
  position: relative;
  height: 445px;
  border-radius: 180px 180px 25px 25px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid white;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

.hero-image:hover img {
  transform: scale(1.04);
}

.image-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(255, 250, 245, .94);
  color: var(--brown);
  padding: 11px 19px;
  border-radius: 30px;
  font-family: var(--heading);
  font-style: italic;
  font-size: 15px;
}

/* =========================================
   FEATURES
========================================= */

.features {
  background: var(--pink-light);
  padding: 25px 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  border-top: 1px solid #f0dfd9;
  border-bottom: 1px solid #f0dfd9;
}

.features div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rose);
  font-size: 20px;
}

.features span {
  color: var(--brown);
  font-size: 13px;
  font-weight: 600;
}

/* =========================================
   GENERAL SECTIONS
========================================= */

.section {
  padding: 100px 8%;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2,
.about-content h2 {
  font-family: var(--heading);
  color: var(--brown-dark);
  font-size: clamp(35px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================
   PRODUCT FILTERS
========================================= */

.products {
  background: #fffdfb;
}

.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 42px;
}

.filter {
  padding: 10px 21px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: white;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: .2s;
}

.filter:hover,
.filter.active {
  background: var(--brown);
  border-color: var(--brown);
  color: white;
}

/* =========================================
   PRODUCT GRID AND CARDS
========================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1250px;
  margin: 0 auto;
}

.product-card {
  min-width: 0;
  background: white;
  border: 1px solid #f0e7e1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(87, 55, 43, .045);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.product-image-wrap {
  height: 245px;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.product-card:hover .product-image {
  transform: scale(1.07);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 250, 245, .96);
  color: var(--rose);
  border-radius: 20px;
  padding: 7px 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
}

.product-info {
  padding: 21px;
}

.product-info h3 {
  font-family: var(--heading);
  font-size: 21px;
  line-height: 1.3;
  color: var(--brown-dark);
  margin-bottom: 9px;
}

.product-description {
  min-height: 48px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 17px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid #f2eae5;
}

.product-bottom > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-bottom strong {
  color: var(--brown);
  font-size: 19px;
}

.product-bottom small {
  color: var(--muted);
  font-size: 11px;
}

.quick-add {
  border: 0;
  border-radius: 25px;
  padding: 11px 17px;
  background: var(--brown);
  color: white;
  font-size: 12px;
  font-weight: 700;
  transition: .2s;
}

.quick-add:hover {
  background: var(--rose);
  transform: translateY(-2px);
}

/* =========================================
   PRODUCT DETAIL MODAL
========================================= */

.product-modal[hidden] {
  display: none !important;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 31, 26, .68);
  backdrop-filter: blur(7px);
}

.modal-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(850px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 25px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .25);
  animation: modalAppear .25s ease;
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-content > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 600px;
  object-fit: cover;
  background: var(--cream-dark);
  border-radius: 25px 0 0 25px;
}

.modal-details {
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.modal-details > span {
  color: var(--rose);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.modal-details h2 {
  font-family: var(--heading);
  color: var(--brown-dark);
  font-size: 30px;
  line-height: 1.2;
  margin: 12px 0 15px;
}

.modal-details p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 12px;
}

#modalWeight {
  color: var(--rose);
  font-weight: 600;
}

#modalPrice {
  color: var(--brown);
  font-size: 27px;
  font-weight: 700;
  margin: 12px 0;
}

/* Cantitate - modal */

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 190px;
  height: 60px;
  padding: 6px;
  margin: 12px 0 22px;
  background: #f3e3db;
  border: 1px solid #e8d0c4;
  border-radius: 15px;
}

.quantity-control button {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 11px;
  background: var(--brown);
  color: white;
  font-size: 25px;
  line-height: 1;
  transition: .2s;
}

.quantity-control button:hover {
  background: var(--rose);
  transform: scale(1.05);
}

#modalQuantity {
  min-width: 35px;
  color: var(--brown-dark);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.modal-add {
  width: 100%;
  min-height: 55px;
  border: none;
  border-radius: 14px;
  background: var(--brown);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition: .2s;
}

.modal-add:hover {
  background: var(--rose);
  transform: translateY(-2px);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 5;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 250, 245, .96);
  color: var(--brown);
  font-size: 21px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
  transition: .2s;
}

.modal-close:hover {
  background: var(--pink);
  transform: rotate(90deg);
}

/* =========================================
   SHOPPING CART
========================================= */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
  background: rgba(48, 31, 26, .55);
  opacity: 1;
  visibility: visible;
  transition: opacity .25s, visibility .25s;
}

.cart-overlay[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cart-panel {
  width: min(460px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  box-shadow: -10px 0 40px rgba(0, 0, 0, .12);
  animation: cartAppear .25s ease;
}

@keyframes cartAppear {
  from {
    transform: translateX(35px);
  }
  to {
    transform: translateX(0);
  }
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  font-family: var(--heading);
  color: var(--brown-dark);
  font-size: 25px;
}

.cart-header button {
  width: 37px;
  height: 37px;
  border: none;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--brown);
  font-size: 18px;
  transition: .2s;
}

.cart-header button:hover {
  background: var(--pink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 23px;
}

.empty-cart {
  padding: 55px 15px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 85px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item > img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 13px;
  background: var(--cream-dark);
}

.cart-item-info {
  min-width: 0;
}

.cart-item-info h4 {
  color: var(--brown-dark);
  font-family: var(--heading);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 5px;
}

.cart-item-info > strong {
  display: block;
  color: var(--rose);
  font-size: 14px;
  margin-bottom: 9px;
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 8px;
  background: #f3e3db;
  border-radius: 9px;
}

.cart-quantity button {
  width: 23px;
  height: 23px;
  border: none;
  border-radius: 6px;
  background: var(--brown);
  color: white;
  font-size: 17px;
  line-height: 1;
}

.cart-quantity button:hover {
  background: var(--rose);
}

.cart-quantity span {
  min-width: 16px;
  text-align: center;
  color: var(--brown-dark);
  font-size: 13px;
  font-weight: 700;
}

.remove-item {
  width: 29px;
  height: 29px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #bd8279;
  font-size: 21px;
  transition: .2s;
}

.remove-item:hover {
  background: var(--pink-light);
}

.cart-bottom {
  padding: 23px;
  border-top: 1px solid var(--border);
  background: white;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.total span {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.total strong {
  color: var(--brown-dark);
  font-size: 24px;
}

.checkout-button {
  width: 100%;
  border: none;
  cursor: pointer;
}

.checkout-button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cart-info {
  color: var(--muted);
  text-align: center;
  font-size: 10px;
  margin-top: 14px;
}

/* =========================================
   ABOUT
========================================= */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 75px;
  background: var(--cream);
}

.about-image {
  height: 470px;
  overflow: hidden;
  border-radius: 150px 150px 20px 20px;
  border: 8px solid white;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-content > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 15px;
}

.signature {
  margin-top: 25px;
  color: var(--rose);
  font-family: var(--heading);
  font-size: 19px;
  font-style: italic;
}

/* =========================================
   QUOTE
========================================= */

.quote {
  padding: 75px 20px;
  text-align: center;
  background: var(--pink-light);
}

.quote > span {
  display: block;
  color: var(--rose);
  font-size: 35px;
  margin-bottom: 15px;
}

.quote h2 {
  font-family: var(--heading);
  color: var(--brown-dark);
  font-size: clamp(25px, 3.5vw, 39px);
  font-weight: 500;
  line-height: 1.5;
}

.quote p {
  margin-top: 20px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

/* =========================================
   CONTACT
========================================= */

.contact {
  background: #fffdfb;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1150px;
  margin: 0 auto;
}

.contact-card {
  padding: 28px 17px;
  text-align: center;
  background: white;
  border: 1px solid #f0e7e1;
  border-radius: 18px;
  transition: .25s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--pink);
}

.contact-icon {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--pink-light);
  font-size: 21px;
}

.contact-card h3 {
  color: var(--brown);
  font-family: var(--heading);
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.contact-card a:hover {
  color: var(--rose);
}

/* =========================================
   NEWSLETTER
========================================= */

.newsletter {
  padding: 65px 20px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 20%, #f8e5de 0, transparent 30%),
    var(--cream-dark);
}

.newsletter h2 {
  font-family: var(--heading);
  color: var(--brown-dark);
  font-size: 36px;
  margin-bottom: 12px;
}

.newsletter p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 25px;
}

/* =========================================
   FOOTER
========================================= */

.footer {
  padding: 45px 20px 25px;
  background: var(--brown-dark);
  text-align: center;
  color: #f8eae2;
}

.footer .logo {
  display: inline-block;
  color: white;
  font-size: 32px;
  margin-bottom: 12px;
}

.footer .logo span {
  color: #d8aaa0;
}

.footer > p {
  color: #d8c2b9;
  font-size: 13px;
  margin-bottom: 22px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 25px;
}

.footer-links a {
  color: #e8d7d0;
  font-size: 12px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #e4aaa0;
}

.footer small {
  display: block;
  color: #bda69c;
  font-size: 10px;
  margin-top: 7px;
}

.project-note {
  opacity: .7;
}

/* =========================================
   TOAST
========================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 2000;
  max-width: calc(100% - 30px);
  padding: 14px 23px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 30px;
  background: var(--brown-dark);
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 15px);
  transition: .25s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* =========================================
   RESPONSIVE - TABLETS
========================================= */

@media (max-width: 1000px) {
  .header {
    padding: 0 4%;
  }

  .nav {
    gap: 20px;
  }

  .hero {
    padding-left: 6%;
    padding-right: 6%;
    gap: 35px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about {
    gap: 40px;
  }
}

/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 700px) {
  .header {
    height: 70px;
    padding: 0 5%;
    gap: 12px;
  }

  .logo {
    font-size: 25px;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 5% 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid #f1e7e1;
  }

  .nav a::after {
    display: none;
  }

  .cart-button {
    margin-left: auto;
    padding: 9px 12px;
    font-size: 12px;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 55px 6% 60px;
    gap: 35px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-content > p {
    font-size: 14px;
  }

  .hero-image {
    height: 330px;
    border-radius: 120px 120px 20px 20px;
  }

  .features {
    gap: 17px;
    padding: 23px 10px;
  }

  .features div {
    gap: 7px;
  }

  .features span {
    font-size: 11px;
  }

  .section {
    padding: 70px 5%;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .about-content h2 {
    font-size: 35px;
  }

  .filters {
    gap: 8px;
  }

  .filter {
    padding: 9px 14px;
    font-size: 11px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .product-image-wrap {
    height: 175px;
  }

  .product-info {
    padding: 13px;
  }

  .product-info h3 {
    font-size: 16px;
  }

  .product-description {
    font-size: 11px;
    min-height: 65px;
  }

  .product-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-bottom strong {
    font-size: 16px;
  }

  .quick-add {
    width: 100%;
    padding: 10px;
  }

  .product-tag {
    top: 9px;
    left: 9px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image {
    height: 330px;
    border-radius: 110px 110px 18px 18px;
  }

  .quote {
    padding: 55px 15px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-card {
    padding: 22px 10px;
  }

  .newsletter {
    padding: 55px 20px;
  }

  .newsletter h2 {
    font-size: 30px;
  }

  .modal-content {
    grid-template-columns: 1fr;
    max-width: 430px;
    max-height: 92vh;
    border-radius: 20px;
  }

  .modal-content > img {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    border-radius: 20px 20px 0 0;
  }

  .modal-details {
    padding: 23px;
  }

  .modal-details h2 {
    font-size: 25px;
  }

  .modal-details p {
    font-size: 12px;
  }

  .quantity-control {
    width: 180px;
    height: 56px;
  }

  .quantity-control button {
    width: 42px;
    height: 42px;
  }

  .modal-add {
    min-height: 50px;
  }

  .cart-panel {
    width: 100%;
  }
}

/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 390px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image-wrap {
    height: 230px;
  }

  .product-description {
    min-height: auto;
  }

  .product-bottom {
    flex-direction: row;
    align-items: center;
  }

  .quick-add {
    width: auto;
  }

  .features {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 18%;
  }

  .hero h1 {
    font-size: 39px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
