:root {
  --ink: #111a47;
  --sea: #199bcf;
  --foam: #f2f7fc;
  --sand: #e6f0f7;
  --peach: #efb6a1;
  --sky: #d8ebf7;
  --line: #cddbe8;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
.category,
.product-card,
.filter,
.icon-button,
.bag-button {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.announcement {
  position: relative;
  z-index: 10;
  background: var(--ink);
  color: #e6f6f2;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.8vw;
  background: #fcfffe;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(17, 26, 71, 0.07);
}
.brand img {
  width: 82px;
  height: 62px;
  object-fit: contain;
}
.nav {
  display: flex;
  gap: 2rem;
}
.nav a,
.footer a {
  color: inherit;
  text-decoration: none;
}
.nav a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--sea);
}
.header-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.icon-button,
.bag-button {
  border: 0;
  background: transparent;
  color: var(--ink);
}
.icon-button {
  font-size: 1.7rem;
}
.bag-button {
  border: 0;
  background: transparent;
  padding: 0.6rem 0.5rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
}
.bag-button span {
  background: var(--ink);
  color: white;
  border-radius: 99px;
  padding: 0.12rem 0.36rem;
  margin-left: 0.25rem;
}
.hero {
  position: relative;
  display: flex;
  z-index: 0;
  justify-content: center;
  gap: 4vw;
  min-height: 560px;
  background: #e3f1ef;
  padding: 0 5.8vw;
  overflow: hidden;
}
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  min-height: 200px;
  z-index: 1;
  overflow: hidden;
}
.waves {
  position: relative;
  width: 100%;
  height: 100%;
}
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
.hero-copy {
  flex: 0 1 500px;
  padding: 7.5rem 0 4rem;
  align-self: center;
  position: relative;
  z-index: 2;
  transform: translateY(var(--parallax-front, 0));
  will-change: transform;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--sea);
}
h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1.02;
}
h1 {
  font-size: clamp(3.3rem, 6vw, 6.2rem);
}
h1 em,
h2 em {
  color: var(--sea);
  font-weight: 600;
}
.hero-text {
  max-width: 410px;
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 1.8rem 0;
}
.button {
  border: 0;
  border-radius: 99px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  padding: 0.88rem 1.35rem;
  display: inline-flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}
.button:hover {
  background: var(--sea);
}
.hero-art {
  flex: 0 1 650px;
  position: relative;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Fotos/Foto%20do%20Hero.png") center top/cover no-repeat;
  z-index: 2;
  transform: translateY(var(--parallax-front, 0));
  will-change: transform;
}
.hero-art::before {
  content: "";
  position: absolute;
  top: 5%;
  left: -35%;
  width: 140%;
  height: 90%;
  background: url("Fotos/WaveEmblem.png") center/contain no-repeat;
  filter: blur(3px);
  z-index: 0;
  opacity: 0.9;
  transform: translateY(var(--parallax-back, 0));
  will-change: transform;
}
.section {
  padding: 6.7rem 5.8vw;
}
.section-heading h2 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.text-button,
.text-link {
  border: 0;
  background: none;
  color: var(--sea);
  font-weight: 700;
  text-decoration: none;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.category {
  border: 0;
  min-height: 260px;
  padding: 1.2rem;
  text-align: left;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-radius: 2px;
  background: var(--category-color);
  color: var(--ink);
  font:
    600 1.35rem Fraunces,
    serif;
}
.category span {
  font: 1.5rem DM Sans;
}
.category:hover {
  transform: translateY(-4px);
}
.products {
  background: white;
}
.filters {
  display: flex;
  gap: 0.6rem;
  overflow: auto;
  margin: 2.3rem 0 1.3rem;
}
.filter {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: white;
  border-radius: 99px;
  padding: 0.5rem 0.9rem;
  color: var(--ink);
}
.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.product-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.product-card:hover {
  box-shadow: 0 12px 24px rgba(17, 26, 71, 0.08);
  transform: translateY(-4px);
}
.product-visual {
  height: 270px;
  background: var(--product-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.product-card:hover .product-visual img {
  transform: scale(1.05);
}
.product-monogram {
  font: 600 2.3rem Fraunces;
  color: rgba(17, 26, 71, 0.65);
  text-align: center;
  padding: 1rem;
}
.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--peach);
  padding: 0.3rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-info {
  padding: 0.9rem 1rem 1rem;
}
.product-info h3 {
  font-size: 0.95rem;
  margin: 0 0 0.45rem;
}
.product-info p {
  font-size: 0.78rem;
  margin: 0 0 0.35rem;
  color: #59757a;
}
.prices {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight: 700;
}
.old-price {
  text-decoration: line-through;
  color: #7b9396;
  font-size: 0.85rem;
  font-weight: 500;
}
.add-cart {
  position: absolute;
  right: 0.5rem;
  bottom: 0.6rem;
  width: 33px;
  height: 33px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  font-size: 1.15rem;
}
.add-cart:hover {
  background: var(--ink);
  color: white;
  transform: scale(1.1);
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sand);
  min-height: 520px;
}
.story-art {
  background: #90c8cf;
  position: relative;
  overflow: hidden;
}
.story-art:before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 25px solid #d6efea;
  border-radius: 50%;
  right: -12%;
  bottom: -23%;
}
.story-art span {
  font: 600 clamp(3rem, 7vw, 7rem)/0.78 Fraunces;
  color: #eaf9f4;
  position: absolute;
  top: 13%;
  left: 13%;
  letter-spacing: -0.07em;
}
.story-copy {
  padding: 6rem 10%;
}
.story-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4.8rem);
}
.story-copy p {
  line-height: 1.6;
  max-width: 390px;
}
.text-link {
  display: inline-block;
  margin-top: 1rem;
}
footer {
  background: var(--ink);
  color: #edf8f5;
  padding: 4rem 5.8vw 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  font-size: 0.9rem;
}
footer h3 {
  margin-top: 0;
  font-size: 0.9rem;
}
footer a {
  display: block;
  margin: 0.55rem 0;
}
footer p {
  line-height: 1.55;
  color: #c5d9d6;
}
.footer-brand img {
  width: 95px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #467179;
  margin-top: 1rem;
  padding-top: 1.3rem;
  font-size: 0.75rem;
  color: #c5d9d6;
}
.footer-bottom a {
  display: inline;
  color: white;
}
.whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  z-index: 15;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 2rem;
  box-shadow: 0 6px 18px rgba(17, 26, 71, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
}
.admin-trigger {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  border: 0;
  color: #52747a;
  background: transparent;
  font-size: 0.72rem;
}
.cart-drawer {
  position: fixed;
  z-index: 30;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: white;
  transform: translateX(103%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: -10px 0 30px rgba(17, 26, 71, 0.1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.drawer-header h2 {
  font-size: 2rem;
}
.close {
  border: 0;
  background: transparent;
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  transition: transform 0.3s;
}
.close:hover {
  transform: rotate(90deg);
}
.cart-items {
  padding: 1rem 1.5rem;
  flex: 1;
  overflow: auto;
}
.cart-item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-thumb {
  height: 50px;
  background: var(--sky);
  display: grid;
  place-items: center;
  font: 1.3rem Fraunces;
}
.cart-item h3 {
  font-size: 0.88rem;
  margin: 0;
}
.cart-item p {
  font-size: 0.8rem;
  margin: 0.2rem 0;
}
.cart-item button {
  background: none;
  border: 0;
  color: #b56854;
}
.cart-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
}
.cart-footer div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.full {
  width: 100%;
}
.cart-footer small,
.modal-card small {
  display: block;
  margin-top: 0.9rem;
  color: #628187;
  text-align: center;
}
.modal {
  display: none;
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(17, 26, 71, 0.6);
  padding: 1rem;
  place-items: center;
}
.modal.open {
  display: grid;
}
.modal-card {
  position: relative;
  background: white;
  width: min(460px, 100%);
  max-height: 94dvh;
  overflow: auto;
  padding: 2.2rem;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.modal-card > img {
  height: 65px;
  width: 86px;
  object-fit: contain;
}
.modal-card h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}
.modal label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0.8rem 0;
}
.modal input,
.modal select,
.integration input,
.inline-form input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all 0.3s;
}
.modal input:focus,
.modal select:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(25, 155, 207, 0.1);
}
.form-error {
  height: 1rem;
  color: #a64c4c;
  font-size: 0.75rem;
}
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.admin {
  display: none;
  position: fixed;
  z-index: 50;
  inset: 0;
  background: #f4f9f7;
}
.admin.open {
  display: grid;
  grid-template-columns: 230px 1fr;
}
.admin-sidebar {
  padding: 2rem;
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.admin-sidebar img {
  height: 70px;
  width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.admin-sidebar p {
  font-size: 0.78rem;
  color: #b7d4d2;
  margin: 0 0 2rem;
}
.admin-tab,
.logout {
  border: 0;
  background: transparent;
  color: #dff1ed;
  text-align: left;
  padding: 0.8rem;
  border-radius: 5px;
}
.admin-tab.active,
.admin-tab:hover {
  background: rgba(255, 255, 255, 0.1);
}
.logout {
  margin-top: auto;
  color: #efb6a1;
}
.admin-content {
  overflow: auto;
  padding: 3.5rem 5vw;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-top h1 {
  font-size: 3rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.metrics div,
.manage-box,
.integration {
  background: white;
  border: 1px solid var(--line);
  padding: 1.2rem;
  border-radius: 8px;
}
.metrics span {
  display: block;
  font-size: 0.8rem;
  color: #648084;
}
.metrics strong {
  font: 600 2.2rem Fraunces;
}
.admin-table-wrap {
  background: white;
  border: 1px solid var(--line);
  overflow: auto;
}
.admin table {
  width: 100%;
  border-collapse: collapse;
  min-width: 570px;
}
.admin th,
.admin td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.admin th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a8588;
}
.admin-action {
  border: 0;
  background: transparent;
  color: var(--sea);
  font-weight: 700;
  margin-right: 0.5rem;
}
.admin-action.delete {
  color: #ba654f;
}
.status {
  font-size: 0.7rem;
  background: #e3f1ef;
  padding: 0.25rem 0.5rem;
  border-radius: 99px;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.manage-box {
  margin: 1.5rem 0;
}
.manage-box h2,
.integration h2 {
  font-size: 1.8rem;
}
.inline-form {
  display: flex;
  gap: 0.7rem;
  margin: 1rem 0;
}
.inline-form input {
  margin: 0;
}
.pill-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pill {
  background: var(--sky);
  padding: 0.4rem 0.6rem;
  border-radius: 99px;
  font-size: 0.8rem;
  transition: all 0.3s;
}
.pill:hover {
  background: #c0dbee;
}
.pill button {
  border: 0;
  background: none;
  margin-left: 0.35rem;
  color: #4b7479;
}
.integration {
  margin: 1.4rem 0;
  max-width: 580px;
}
.integration > div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f1b064;
}
.integration p,
.integration-note {
  font-size: 0.85rem;
  color: #648084;
}
.integration input {
  margin: 1rem 0;
}
.toast {
  position: fixed;
  z-index: 70;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 160%);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 99px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 0.85rem;
}
.toast.show {
  transform: translate(-50%, 0);
}
@media (max-width: 760px) {
  .header {
    padding: 0 1rem;
    height: 68px;
  }
  .nav {
    display: none;
  }
  .brand img {
    width: 70px;
  }
  .hero {
    flex-direction: column;
    gap: 2rem;
  }
  .hero-copy {
    padding: 4rem 1.25rem 2rem;
    flex: auto;
  }
  .hero-art {
    min-height: 350px;
    flex: auto;
  }
  .benefits {
    grid-template-columns: 1fr;
    font-size: 0.75rem;
    padding: 0.8rem;
  }
  .section {
    padding: 4rem 1.25rem;
    position: relative;
    z-index: 10;
    background: #fff;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
  .category {
    min-height: 150px;
    font-size: 1.1rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .product-visual {
    height: 180px;
  }
  .product-monogram {
    font-size: 1.5rem;
  }
  .story {
    grid-template-columns: 1fr;
  }
  .story-art {
    min-height: 280px;
  }
  .story-copy {
    padding: 3.5rem 1.25rem;
  }
  .row {
    align-items: end;
  }
  .text-button {
    padding-bottom: 0.4rem;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    padding: 3rem 1.25rem 1.2rem;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .admin.open {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    padding: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    overflow: auto;
  }
  .admin-sidebar img,
  .admin-sidebar p {
    display: none;
  }
  .admin-sidebar .logout {
    margin: 0 0 0 auto;
  }
  .admin-tab {
    white-space: nowrap;
  }
  .admin-content {
    padding: 2rem 1rem;
  }
  .admin-top h1 {
    font-size: 2.4rem;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics div:last-child {
    display: none;
  }
  .inline-form {
    flex-direction: column;
  }
  .two-cols {
    grid-template-columns: 1fr;
  }
  .whatsapp {
    width: 50px;
    height: 50px;
  }
  .hero-text {
    font-size: 1rem;
  }
}
.login-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}
.product-page {
  display: none;
  min-height: 100vh;
  background: #fff;
  padding: 1.25rem 5.8vw 5rem;
  max-width: 1350px;
  margin: 0 auto;
}
.product-page.open {
  display: block;
}
.product-back {
  border: 0;
  background: transparent;
  color: var(--sea);
  font-weight: 700;
  margin: 1rem 0 2rem;
  padding: 0;
}
.product-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.product-gallery {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 0.8rem;
  position: sticky;
  top: 98px;
}
.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  flex-direction: column;
}
.gallery-thumb {
  height: 76px;
  border: 2px solid transparent;
  background: #e4f2ef;
  padding: 0;
  overflow: hidden;
}
.gallery-thumb.active {
  border-color: var(--ink);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb span {
  display: grid;
  height: 100%;
  place-items: center;
  font: 1.05rem Fraunces;
}
.main-photo {
  height: min(70vh, 650px);
  background: var(--product-color);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.15s ease-out;
  cursor: zoom-in;
}
.main-photo span {
  font: 600 clamp(2rem, 4vw, 4.5rem)/0.96 Fraunces;
  text-align: center;
  color: #284b51;
}
.product-details {
  padding-top: 0.3rem;
}
.product-details h1 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  margin: 0.4rem 0 1.2rem;
}
.product-details .prices {
  font-size: 1.2rem;
  margin-bottom: 1.7rem;
}
.product-details .old-price {
  font-size: 1rem;
}
.product-desc {
  color: #527176;
  line-height: 1.65;
  margin-bottom: 1.7rem;
}
.size-label {
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.size-label a {
  color: var(--sea);
}
.sizes {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.size {
  width: 43px;
  height: 42px;
  border: 1px solid var(--line);
  background: white;
}
.size.active,
.size:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.buy-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.buy-row .button {
  flex: 1;
}
.wishlist {
  width: 52px;
  border: 1px solid var(--ink);
  background: white;
  font-size: 1.2rem;
}
.shipping-box {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}
.shipping-box h3 {
  margin: 0.1rem 0 0.4rem;
  font-size: 1rem;
}
.shipping-box p {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: #668286;
}
.cep-form {
  display: flex;
  gap: 0.6rem;
}
.cep-form input {
  min-width: 0;
  flex: 1;
  padding: 0.72rem;
  border: 1px solid var(--line);
}
.cep-form button {
  border: 0;
  background: var(--sky);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  font-weight: 700;
}
.shipping-result {
  font-size: 0.83rem;
  margin: 0.8rem 0 0;
  color: var(--sea);
  font-weight: 700;
}
.product-meta {
  font-size: 0.78rem;
  color: #668286;
  margin-top: 1.2rem;
  line-height: 1.7;
}
.related {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
  margin-bottom: 1.7rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.related .product-card {
  cursor: pointer;
}
@media (max-width: 760px) {
  .login-button {
    font-size: 0.78rem;
  }
  .product-page {
    padding: 1rem 1.25rem 4rem;
  }
  .product-layout {
    display: block;
  }
  .product-gallery {
    position: static;
    display: flex;
    flex-direction: column-reverse;
  }
  .gallery-thumbs {
    flex-direction: row;
  }
  .gallery-thumb {
    width: 62px;
    height: 62px;
  }
  .main-photo {
    height: 380px;
  }
  .product-details {
    padding-top: 2rem;
  }
  .related {
    margin-top: 3.5rem;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .buy-row {
    position: sticky;
    bottom: 0.8rem;
    background: #fff;
    padding: 0.6rem 0;
    z-index: 3;
  }
}
.attribute-group {
  margin-bottom: 1.4rem;
}
.colors {
  display: flex;
  gap: 0.65rem;
}
.color-option {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 3px;
  border: 1px solid transparent;
  background: white;
}
.color-option span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch);
  border: 1px solid #d0dbd8;
}
.color-option.active {
  border-color: var(--ink);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px var(--ink);
}
.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.8rem;
}
footer .social-icons a {
  display: inline-block;
  margin: 0;
  color: inherit;
  transition: all 0.3s;
}
footer .social-icons a:hover {
  color: var(--sea);
  transform: translateY(-3px);
}

.categories,
.products {
  max-width: 1350px;
  margin: 0 auto;
}

/* ── Admin product form extras ── */
.form-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sea);
  margin-bottom: 0.5rem;
}
.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1.5px dashed var(--sea);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sea);
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
}
.upload-btn:hover {
  background: var(--sky);
}

@media (max-width: 760px) {
  .hero-art::after {
    background-size: contain;
    background-position: center bottom;
  }
}

@media (max-width: 760px) {
  .hero-art {
    transform: none;
    margin-bottom: -2rem; /* Reduce bottom margin to overlap smoothly if needed, but not necessary */
  }
}

/* ── Footer v2 ── */
.footer-v2 {
  background: var(--ink);
  color: #edf8f5;
  padding: 4rem 5.8vw 0;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  font-size: 0.88rem;
}
.footer-v2 h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7fbfcc;
  margin: 0 0 1.1rem;
  font-family: inherit;
  font-weight: 700;
}
.footer-v2 a {
  display: block;
  color: #c5dbd8;
  text-decoration: none;
  margin: 0.5rem 0;
  transition: color 0.25s;
}
.footer-v2 a:hover {
  color: white;
}
.footer-v2 p {
  color: #c5dbd8;
  line-height: 1.6;
  margin: 0.3rem 0;
}
.footer-logo {
  width: 90px;
  height: 66px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: 0.8rem;
  display: block;
}
.footer-tagline {
  font-size: 0.83rem;
  color: #a8cdd0;
  line-height: 1.55;
  margin: 0.6rem 0 1.1rem;
  max-width: 240px;
}
.footer-brand-col .social-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.8rem;
}
.footer-brand-col .social-icons a {
  display: inline-flex;
  margin: 0;
  color: #c5dbd8;
  transition:
    color 0.25s,
    transform 0.25s;
}
.footer-brand-col .social-icons a:hover {
  color: white;
  transform: translateY(-3px);
}
.footer-bottom-v2 {
  grid-column: 1/-1;
  border-top: 1px solid #2d5a63;
  margin-top: 2.5rem;
  padding: 1.2rem 0 1.8rem;
  font-size: 0.74rem;
  color: #7fbfcc;
}
.footer-bottom-v2 a {
  display: inline;
  color: #a8cdd0;
}
.footer-bottom-v2 a:hover {
  color: white;
}
@media (max-width: 760px) {
  .footer-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 0;
  }
  .footer-brand-col {
    grid-column: 1/-1;
  }
  .footer-bottom-v2 {
    padding-bottom: 1.5rem;
  }
}

/* ── Color picker ── */
.color-picker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  align-items: center;
}
.cp-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cp-swatch:hover {
  transform: scale(1.15);
}
.cp-swatch.selected {
  border-color: var(--ink);
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px var(--ink);
}
.cp-swatch[data-color="#ffffff"] {
  border-color: #ccc;
}
.cp-add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px dashed var(--sea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--sea);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s;
}
.cp-add-btn:hover {
  background: var(--sky);
}
.color-selected-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 28px;
  margin-bottom: 0.4rem;
}
.color-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.2rem 0.5rem 0.2rem 0.25rem;
  font-size: 0.75rem;
}
.color-chip-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid #ccc;
}
.color-chip button {
  border: 0;
  background: none;
  color: #7a9aa0;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

/* ── Gender toggle ── */
.gender-toggle {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}
.gender-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.gender-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

/* ── Size panels ── */
.size-panel {
  margin-bottom: 0.4rem;
}
.size-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.size-check-item {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.size-check-item input {
  display: none;
}
.size-check-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 38px;
  padding: 0 0.5rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  background: white;
  transition: all 0.2s;
  cursor: pointer;
}
.size-check-item input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.size-check-item span:hover {
  border-color: var(--sea);
}

/* range slider accent */
input[type="range"] {
  accent-color: var(--sea);
}

.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  place-items: center;
  cursor: zoom-out;
}
.lightbox-modal.open {
  display: grid;
}
.lightbox-modal img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
