:root {
  color-scheme: light;
  --ink: #231b1e;
  --muted: #786d71;
  --wine: #77334c;
  --wine-dark: #572337;
  --plum: #361f2b;
  --rose: #f7eef0;
  --rose-deep: #ead9de;
  --cream: #fcfaf7;
  --gold: #b99561;
  --line: #eee5e4;
  --white: #fff;
  --shadow-soft: 0 12px 36px rgb(51 31 41 / 7%);
  --shadow-card: 0 20px 52px rgb(51 31 41 / 10%);
  --radius-card: 18px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--wine);
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(185 149 97 / 72%);
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.row {
  margin: 0;
}

.announcement {
  min-height: 34px;
  padding: 7px 16px;
  color: #f8f1f1;
  background: var(--plum);
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.navbar {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: block;
  border-bottom: 1px solid rgb(65 39 49 / 7%);
  background: rgb(252 250 247 / 93%);
  backdrop-filter: blur(18px);
}

.navbar > .container,
.navbar .container {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.navbar-brand,
.brand {
  flex: 0 0 auto;
  color: var(--wine) !important;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .16em;
}

.navbar-toggler {
  display: none;
}

.navbar-toggler-icon {
  display: block;
  width: 20px;
  height: 16px;
  background:
    linear-gradient(var(--wine), var(--wine)) top / 100% 2px,
    linear-gradient(var(--wine), var(--wine)) center / 100% 2px,
    linear-gradient(var(--wine), var(--wine)) bottom / 100% 2px;
  background-repeat: no-repeat;
}

.navbar-collapse {
  display: flex !important;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
}

.navbar-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-item {
  display: block;
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  color: #53474a;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--wine);
  background: var(--rose);
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}

.btn-wine {
  border-color: var(--wine);
  color: var(--white);
  background: var(--wine);
  box-shadow: 0 7px 18px rgb(119 51 76 / 16%);
}

.btn-wine:hover {
  border-color: var(--wine-dark);
  color: var(--white);
  background: var(--wine-dark);
  box-shadow: 0 10px 24px rgb(119 51 76 / 22%);
}

.btn-outline-dark,
.btn-outline-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn-outline-dark:hover,
.btn-outline-secondary:hover {
  border-color: var(--wine);
  color: var(--wine);
  background: var(--rose);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border: 0;
  color: var(--wine);
  background: transparent;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  min-width: 23px;
  min-height: 23px;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 50%;
  color: var(--wine);
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.section-pad {
  padding-block: clamp(52px, 7vw, 92px);
}

.section-title,
.page-heading h1,
.home-hero-title,
.catalog-info h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.section-title {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.eyebrow {
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.muted,
.text-secondary {
  color: var(--muted) !important;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.small,
small {
  font-size: 12px;
}

.home-hero {
  overflow: hidden;
  padding: clamp(46px, 6vw, 78px) 0 74px;
  background:
    radial-gradient(ellipse at 82% 16%, rgb(234 217 222 / 72%), transparent 34%),
    linear-gradient(135deg, #fbf7f4 5%, #f4e8eb 100%);
}

.home-hero .container {
  width: min(100% - 48px, 1080px);
  margin-inline: auto;
  text-align: center;
}

.home-hero-title {
  margin: 18px auto 14px;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.04;
}

.home-hero-intro {
  max-width: 580px;
  margin: 0 auto 22px;
}

.home-hero .btn-wine {
  min-height: 48px;
  padding-inline: 25px;
}

.home-hero-figure {
  position: relative;
  width: min(100%, 790px);
  overflow: hidden;
  margin: 34px auto 0;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 26px;
  background: rgb(255 255 255 / 72%);
  box-shadow: 0 28px 80px rgb(63 37 48 / 17%);
}

.home-hero-figure img {
  display: block;
  width: 100%;
  border-radius: 18px;
  background: #eadde0;
  object-fit: cover;
  object-position: center 39%;
  filter: saturate(1.06) contrast(1.04);
}

.home-hero-slides {
  position: relative;
  height: clamp(370px, 54vw, 620px);
  overflow: hidden;
  border-radius: 18px;
  background: #eadde0;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}

.home-hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.home-hero-slide img {
  height: 100%;
}

.home-hero-caption {
  margin: 0;
  position: absolute;
  right: 25px;
  bottom: 25px;
  padding: 11px 17px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 999px;
  color: #fff;
  background: rgb(48 31 39 / 76%);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
}

.home-hero-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  color: var(--plum);
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 4px 16px rgb(35 27 30 / 15%);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.home-hero-control:hover {
  color: #fff;
  background: var(--wine);
}

.home-hero-previous {
  left: 24px;
}

.home-hero-next {
  right: 24px;
}

.home-hero-indicators {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 25px;
  display: flex;
  gap: 8px;
}

.home-hero-indicators button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 999px;
  background: rgb(255 255 255 / 55%);
  cursor: pointer;
}

.home-hero-indicators button[aria-current="true"] {
  width: 27px;
  background: #fff;
}

.category-image-gallery {
  margin: 24px 0;
}

.category-image-gallery h2 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: clamp(21px, 3vw, 28px);
}

.category-image-gallery-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.category-image-gallery figure {
  min-width: 0;
  margin: 0;
}

.category-image-gallery img {
  display: block;
  width: 100%;
  height: 175px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f1eae8;
  object-fit: cover;
}

.category-image-gallery figcaption {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(180px, 1.25fr) minmax(170px, 1fr) auto;
  gap: 10px;
  margin: 20px 0 13px;
}

.form-control,
.form-select,
input.form-control,
select.form-select,
textarea.form-control {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #e9dfe0;
  border-radius: 12px;
  color: var(--ink);
  background-color: #fff;
  box-shadow: 0 2px 6px rgb(51 31 41 / 2%);
}

.form-control::placeholder {
  color: #968b8e;
}

.form-select {
  cursor: pointer;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 2px 13px;
  margin: 18px 0 8px;
  overscroll-behavior-x: contain;
  scrollbar-color: #d9c4c9 transparent;
  scrollbar-width: thin;
  white-space: nowrap;
}

.category-tabs .btn {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 8px 15px;
  border-color: #e7dadd;
  color: #65575b;
  background: rgb(255 255 255 / 78%);
  font-size: 12px;
}

.category-tabs .btn:hover,
.category-tabs .btn.active,
.category-tabs .btn[aria-selected="true"] {
  border-color: var(--wine);
  color: #fff;
  background: var(--wine);
}

#resultCount {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}

.catalog-grid > * {
  width: auto;
  max-width: none;
  padding: 0;
}

.catalog-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #eee6e4;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 5px 20px rgb(51 31 41 / 3%);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.catalog-card:hover {
  transform: translateY(-5px);
  border-color: #e1cbd1;
  box-shadow: var(--shadow-card);
}

.catalog-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  background: #f2ebea;
}

.catalog-image::after {
  position: absolute;
  z-index: 0;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgb(35 27 30 / 7%));
  content: "";
  pointer-events: none;
}

.catalog-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.catalog-card:hover .catalog-image img {
  transform: scale(1.045);
}

.catalog-badge {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 13px;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 999px;
  color: var(--wine-dark);
  background: rgb(255 255 255 / 89%);
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.catalog-actions {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  gap: 7px;
}

.catalog-actions button {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 66%);
  border-radius: 50%;
  color: var(--ink);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 5px 16px rgb(35 27 30 / 9%);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.catalog-actions button:hover,
.catalog-actions button[aria-pressed="true"] {
  color: var(--wine);
  background: #fff;
  transform: scale(1.06);
}

.catalog-icon {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  font-size: 19px;
  line-height: 1;
}

.catalog-actions button[aria-pressed="true"] .wishlist-icon,
.wishlist-heart {
  color: var(--wine);
}

.catalog-info {
  display: flex;
  min-height: 215px;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 15px 13px;
}

.catalog-info h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 44px;
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-info > small {
  display: block;
  min-height: 21px;
  color: var(--muted);
  font-size: 10px;
}

.catalog-footer {
  display: grid;
  width: 100%;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
}

.catalog-footer .form-select {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 11px;
}

.catalog-footer .btn {
  width: 100%;
  min-height: 39px;
  border-radius: 10px;
  font-size: 11px;
}

.catalog-info .catalog-inquiry {
  width: 100%;
  min-height: 37px;
  margin-top: 7px;
  font-size: 11px;
}

.catalog-info > .btn-link {
  min-height: 28px;
  margin-top: 4px;
  font-size: 11px;
}

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 30px 0 0;
}

.pagination-wrap .btn {
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 12px;
}

.pagination-current {
  padding-inline: 8px;
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  padding: clamp(34px, 7vw, 70px) 20px;
  border: 1px dashed #decbd0;
  border-radius: var(--radius-card);
  background: #fff;
  text-align: center;
}

.empty-state h2,
.empty-state h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.page-heading {
  padding: 58px 0;
  background: linear-gradient(120deg, #f7eef0, #eee1e1);
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -.04em;
}

main.section-pad > .container:not(#catalogTop):not(#productDetail) {
  max-width: 920px;
}

main.section-pad:has(#productDetail) > .container {
  max-width: var(--container);
}

#productDetail {
  max-width: var(--container);
  margin-inline: auto;
}

#productDetail .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
}

#productDetail .row > * {
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
}

.product-detail-image {
  display: block;
  width: 100%;
  max-height: 690px;
  aspect-ratio: 4 / 4.7;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #f1eae8;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

#productDetail .eyebrow {
  margin-bottom: 12px;
}

#productDetail .section-title {
  margin: 0 0 13px;
  font-size: clamp(34px, 4vw, 50px);
}

#productDetail p {
  color: var(--muted);
}

#productDetail .form-label {
  display: block;
  margin: 20px 0 7px;
  font-size: 12px;
  font-weight: 700;
}

#productDetail .btn-outline-dark {
  border-color: #d9c8cb;
}

main.section-pad:has(#cartLines) .row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, .8fr);
  gap: 34px;
}

main.section-pad:has(#cartLines) .row > * {
  width: auto;
  max-width: none;
  padding: 0;
}

main.section-pad:has(#cartLines) .p-4.border.rounded-4 {
  position: sticky;
  top: 115px;
  padding: 23px !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.cart-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row img {
  width: 92px;
  height: 108px;
  border-radius: 13px;
  background: #f1eae8;
  object-fit: cover;
}

.cart-row strong {
  font-size: 14px;
}

.cart-row > div > div:first-of-type {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-controls button:not(.btn) {
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid #e8dadd;
  border-radius: 50%;
  color: var(--wine);
  background: #fff;
  cursor: pointer;
}

.cart-price {
  color: var(--wine);
  white-space: nowrap;
}

main.section-pad:has(#customerName) > .container {
  max-width: 790px !important;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

main.section-pad:has(#customerName) > .container > p {
  color: var(--muted);
}

main.section-pad:has(#customerName) form {
  display: grid;
  gap: 8px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.form-label {
  margin: 8px 0 0;
  color: #514549;
  font-size: 12px;
  font-weight: 700;
}

main.section-pad:has(#customerName) form .mb-3 {
  margin-bottom: 7px !important;
}

main.section-pad:has(#customerName) form .btn {
  min-height: 49px;
  margin-top: 8px;
}

main.section-pad:has(#customerName) form p {
  margin: 4px 0 0;
  color: var(--muted);
  text-align: center;
}

main.section-pad:not(:has(#catalogTop)):not(:has(#productDetail)):not(:has(#cartLines)):not(:has(#customerName)) > .container {
  padding: clamp(25px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 0, rgb(247 238 240 / 90%), transparent 38%),
    #fff;
  box-shadow: var(--shadow-soft);
}

main.section-pad:not(:has(#catalogTop)):not(:has(#productDetail)):not(:has(#cartLines)):not(:has(#customerName)) .section-title {
  margin-top: 0;
}

.footer {
  margin-top: 0 !important;
  padding: 0;
  color: #f7eff0;
  background:
    radial-gradient(ellipse at 8% 0, rgb(119 51 76 / 24%), transparent 37%),
    #251a1f;
}

.footer > .container {
  padding-block: 58px 22px !important;
}

.footer .row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer .row > * {
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
}

.footer-brand {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .12em;
}

.footer p,
.footer li,
.footer address {
  color: #d5c6ca;
  font-size: 12px;
  line-height: 1.85;
}

.footer-title {
  margin: 7px 0 16px;
  color: #fff;
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer address {
  font-style: normal;
}

.footer a {
  color: #e9dce0;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-socials a {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #66535a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease;
}

.footer-socials a:hover {
  border-color: #b99561;
  background: rgb(255 255 255 / 7%);
}

.footer-contact-link {
  color: #e7c6d0 !important;
  font-size: 11px;
  font-weight: 700;
}

.footer-bottom {
  padding-top: 18px;
  margin-top: 32px;
  border-top: 1px solid rgb(255 255 255 / 13%);
  color: #bdaeb2;
}

.float-wa {
  position: fixed;
  z-index: 1080;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 3px solid rgb(255 255 255 / 94%);
  border-radius: 50%;
  color: #fff;
  background: #15975b;
  box-shadow: 0 10px 30px rgb(19 82 52 / 28%);
  transition: transform .2s ease, box-shadow .2s ease;
}

.float-wa:hover {
  color: #fff;
  box-shadow: 0 14px 36px rgb(19 82 52 / 34%);
  transform: translateY(-3px);
}

.whatsapp-mark {
  position: relative;
  display: block;
  width: 27px;
  height: 27px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.whatsapp-mark::before {
  position: absolute;
  bottom: -3px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid currentColor;
  background: #15975b;
  content: "";
  transform: skew(-24deg) rotate(-24deg);
}

.whatsapp-handset {
  position: absolute;
  top: 7px;
  left: 8px;
  width: 9px;
  height: 11px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 3px 3px 6px 6px;
  transform: rotate(-42deg);
}

.whatsapp-handset::before,
.whatsapp-handset::after {
  position: absolute;
  width: 4px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.whatsapp-handset::before {
  top: -2px;
  left: -3px;
}

.whatsapp-handset::after {
  right: -3px;
  bottom: -2px;
}

.toast-note {
  position: fixed;
  z-index: 1090;
  bottom: 22px;
  left: 22px;
  max-width: min(400px, calc(100vw - 44px));
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 12px;
  color: #fff;
  background: var(--plum);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast-note.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.quick-view-dialog {
  width: min(92vw, 560px);
  max-height: 90vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 100px rgb(29 17 23 / 24%);
}

.quick-view-dialog::backdrop {
  background: rgb(35 27 30 / 56%);
  backdrop-filter: blur(5px);
}

.quick-view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.quick-view-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
}

.quick-view-dialog .btn-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.quick-view-image {
  width: 100%;
  max-height: 380px;
  border-radius: 15px;
  background: #f1eae8;
  object-fit: contain;
}

.quick-view-dialog .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 17px;
}

.quick-view-dialog .modal-footer form {
  margin: 0;
}

.rounded-4 {
  border-radius: 18px !important;
}

.border {
  border-color: var(--line) !important;
}

@media (max-width: 1050px) {
  .catalog-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar #searchInput {
    grid-column: span 2;
  }

  .catalog-toolbar #clearFilters {
    min-height: 46px;
  }

  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .navbar > .container,
  .navbar .container {
    gap: 12px;
  }

  .navbar-nav {
    gap: 2px;
  }

  .nav-link {
    padding-inline: 9px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .navbar > .container,
  .navbar .container {
    position: relative;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 0 12px;
    padding-block: 9px;
  }

  .brand,
  .navbar-brand {
    font-size: 21px;
  }

  .navbar-toggler {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }

  .navbar-collapse {
    position: absolute;
    z-index: 1001;
    top: calc(100% - 2px);
    right: 0;
    display: none !important;
    width: min(300px, calc(100vw - 32px));
    flex: none;
    align-items: stretch;
    justify-content: flex-start;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--cream);
    box-shadow: 0 18px 44px rgb(51 31 41 / 16%);
  }

  .navbar-collapse.is-open {
    display: flex !important;
  }

  .navbar-nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
  }

  .nav-link {
    display: flex;
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    font-size: 14px;
  }

  .navbar-nav .btn {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-toolbar #searchInput {
    grid-column: 1 / -1;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-info {
    min-height: 208px;
    padding: 12px 11px 10px;
  }

  .catalog-info h3 {
    min-height: 39px;
    font-size: 15px;
  }

  .catalog-image {
    aspect-ratio: 4 / 4.9;
  }

  #productDetail .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .product-detail-image {
    max-height: 560px;
    aspect-ratio: 4 / 3.5;
    object-fit: contain;
  }

  main.section-pad:has(#cartLines) .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }

  main.section-pad:has(#cartLines) .p-4.border.rounded-4 {
    position: static;
  }

  .footer .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
  }
}

@media (max-width: 480px) {
  .announcement {
    min-height: 30px;
    padding-block: 6px;
    font-size: 8px;
    letter-spacing: .11em;
  }

  .container {
    width: calc(100% - 28px);
  }

  .navbar > .container,
  .navbar .container {
    min-height: 62px;
  }

  .brand,
  .navbar-brand {
    font-size: 19px;
    letter-spacing: .12em;
  }

  .nav-link {
    padding-inline: 8px;
    font-size: 11px;
  }

  .navbar-nav {
    gap: 0;
  }

  .navbar-nav .btn {
    min-height: 33px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .home-hero {
    padding: 45px 0 46px;
  }

  .home-hero .container {
    width: calc(100% - 28px);
  }

  .home-hero-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .home-hero-intro {
    max-width: 340px;
    font-size: 15px;
  }

  .home-hero-figure {
    margin-top: 25px;
    padding: 6px;
    border-radius: 19px;
  }

  .home-hero-slides {
    height: min(108vw, 470px);
    border-radius: 14px;
  }

  .home-hero-slide img {
    height: 100%;
    object-position: center 39%;
  }

  .home-hero-caption {
    right: 14px;
    bottom: 14px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .home-hero-control {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .home-hero-previous {
    left: 12px;
  }

  .home-hero-next {
    right: 12px;
  }

  .home-hero-indicators {
    bottom: 18px;
    left: 14px;
  }

  .section-pad {
    padding-block: 42px;
  }

  .section-title {
    font-size: 34px;
  }

  .catalog-toolbar {
    gap: 8px;
  }

  .catalog-toolbar .btn,
  .catalog-toolbar .form-control,
  .catalog-toolbar .form-select {
    min-height: 42px;
    padding: 9px 11px;
    font-size: 11px;
  }

  .category-tabs {
    margin-inline: -7px;
    padding-inline: 7px;
  }

  .catalog-grid {
    gap: 10px;
  }

  .catalog-info {
    min-height: 204px;
    padding: 10px 9px;
  }

  .catalog-info h3 {
    min-height: 37px;
    font-size: 13px;
  }

  .catalog-info > small {
    font-size: 9px;
  }

  .catalog-badge {
    top: 8px;
    left: 8px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .catalog-actions {
    top: 8px;
    right: 8px;
    gap: 5px;
  }

  .catalog-actions button {
    width: 31px;
    height: 31px;
  }

  .catalog-icon {
    width: 16px;
    height: 16px;
  }

  .catalog-footer .btn {
    min-height: 36px;
    padding: 8px 7px;
    font-size: 10px;
  }

  .catalog-footer .form-select {
    min-height: 35px;
    font-size: 10px;
  }

  .pagination-wrap {
    gap: 5px;
  }

  .pagination-wrap .btn {
    min-width: 33px;
    min-height: 34px;
    padding: 6px 9px;
  }

  .pagination-current {
    order: 3;
    flex-basis: 100%;
    text-align: center;
  }

  main.section-pad:has(#customerName) > .container {
    width: calc(100% - 28px);
    padding: 23px 17px;
  }

  .cart-row {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-row img {
    width: 66px;
    height: 82px;
  }

  .cart-price {
    grid-column: 2;
  }

  .qty-controls {
    gap: 7px;
  }

  .footer > .container {
    padding-block: 42px 20px !important;
  }

  .footer .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .float-wa {
    right: max(13px, env(safe-area-inset-right));
    bottom: max(13px, env(safe-area-inset-bottom));
    width: 51px;
    height: 51px;
  }

  body:has(#customerName) .float-wa {
    bottom: calc(73px + env(safe-area-inset-bottom));
  }

  .toast-note {
    right: 74px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  body:has(#customerName) .toast-note {
    bottom: calc(73px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
