/* =========================================================
   NE FASHIONS — FINAL STYLE.CSS
   MATCHED EXACTLY TO CURRENT INDEX.HTML
   OLD VISUAL STYLE + NEW PRODUCT SYSTEM
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --black: #171515;
  --soft-black: #272323;
  --cream: #f8f5f0;
  --beige: #eee7df;
  --white: #ffffff;
  --grey: #77706c;
  --dark-grey: #4f4946;
  --border: #ded7d0;
  --accent: #8b625b;
  --accent-dark: #6f4b45;
  --shadow: 0 10px 30px rgba(23,21,21,.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   ANNOUNCEMENT
   ========================================================= */

.announcement {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  height: 82px;
  background: var(--white);
  border-bottom: 1px solid #eee9e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand > a {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.1;
}

.brand-text span {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: var(--grey);
  text-transform: uppercase;
  margin-top: 4px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  font-size: 12px;
  color: var(--soft-black);
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-actions button,
.menu-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--black);
  display: grid;
  place-items: center;
  font-size: 20px;
  border-radius: 50%;
  transition: .2s ease;
}

.header-actions button:hover,
.menu-btn:hover {
  background: var(--cream);
}

.menu-btn {
  display: none;
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
  display: none;
  position: fixed;
  top: 116px;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 999;
  padding: 12px 6%;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee9e5;
  font-size: 13px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: 80px 8%;
  color: #000;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.75),
      rgba(255,255,255,.25),
      rgba(255,255,255,0)
    ),
    url("images/hero.jpg") center center / cover no-repeat;
}

.hero-content {
  max-width: 570px;
}

.hero-small {
  font-size: 15px;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero h2 {
  font-family: "Playfair Display", sans-serif;
  font-size: clamp(46px, 7vw, 78px);
  line-height: 1;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-content > p:not(.hero-small) {
  max-width: 470px;
  color: #000;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero button {
  border: 1px solid #171515;
  background: #171515;
  color: #ffffff;
  padding: 14px 27px;
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  transition: .25s ease;
}

.hero button:hover {
  background: #ffffff;
  color: #171515;
  border-color: #ffffff;
}

/* =========================================================
   COMMON SECTION HEADING
   ========================================================= */

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading.left {
  text-align: left;
}

.section-heading span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.section-heading h2 {
  font-family: "Playfair Display", sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

/* =========================================================
   CATEGORIES
   ========================================================= */

.categories {
  padding: 82px 6%;
  background: var(--white);
}

.category-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-grid > button {
  position: relative;
  height: 390px;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--cream);
  color: var(--white);
}

.category-grid > button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.category-grid > button::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(
    transparent,
    rgba(0,0,0,.72)
  );
}

.category-grid > button:hover img {
  transform: scale(1.05);
}

.category-grid > button span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  font-family: "DM Sans", sans-serif;
  font-size: 23px;
  font-weight: 600;
}


/* =========================================================
   PRODUCT COLLECTION — NEW SYSTEM
   ========================================================= */

.products-section {
  padding: 82px 6%;
  background: var(--white);
}

.products-section .section-heading {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

.product-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 18px;
}

.product-card {
  position: relative;
  min-width: 0;
  background: var(--white);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: .78;
  overflow: hidden;
  background: var(--cream);
  cursor: pointer;
}

.product-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-card:hover .product-image-wrap > img {
  transform: scale(1.025);
}

.product-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  display: grid;
  place-items: center;
  font-size: 17px;
}

.product-heart:hover {
  transform: scale(1.05);
}

.product-info {
  padding: 13px 2px 0;
}


.product-category {
  color: var(--grey);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 5px;
}

.product-price {
  font-size: 13px;
  font-weight: 700;
}

.card-colors {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.card-color {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ccc4be;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-color-circle {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.card-color.active {
  outline: 1px solid var(--black);
  outline-offset: 2px;
}

.color-label {
  font-size: 9px;
  color: var(--grey);
}

/* =========================================================
   OFFER
   ========================================================= */

.offer {
  padding: 80px 6%;
  background: var(--beige);
  text-align: center;
}

.offer > div {
  max-width: 700px;
  margin: auto;
}

.offer > div > span {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.offer h2 {
  font-family: "Playfair Display", sans-serif;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.15;
  margin-bottom: 13px;
}

.offer p {
  font-size: 14px;
  color: var(--dark-grey);
}

.offer .coupon {
  margin: 18px 0 25px;
}

.offer .coupon strong {
  display: inline-block;
  margin-left: 5px;
  padding: 6px 12px;
  border: 1px dashed var(--accent);
  background: rgba(255,255,255,.45);
  letter-spacing: 1px;
}

.offer button {
  padding: 13px 28px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.offer button:hover {
  background: transparent;
  color: var(--black);
}

/* =========================================================
   WHY NE FASHIONS
   ========================================================= */

/* =========================================================
    WHY NE FASHIONS
    ========================================================= */

.why-us {
  padding: 90px 6%;
  background: #fcf8f4;
}

.why-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
}

.why-grid > div {
  text-align: center;
  padding: 10px 12px;
}

/* soft aesthetic circles */

.why-number {
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-family: "Playfair Display", sans-serif;
  font-size: 17px;
}

/* pastel colours */

.why-grid > div:nth-child(1) .why-number {
  color: #9b7188;
  background: #f3e7ee;
}

.why-grid > div:nth-child(2) .why-number {
  color: #a47755;
  background: #f5eadf;
}

.why-grid > div:nth-child(3) .why-number {
  color: #668579;
  background: #e7f0ec;
}

.why-grid > div:nth-child(4) .why-number {
  color: #817398;
  background: #eeeaf3;
}

.why-grid h3 {
  font-family: "Playfair Display", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #403936;
  margin-bottom: 9px;
}

.why-grid p {
  color: #817873;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  line-height: 1.8;
  max-width: 190px;
  margin: auto;
}

/* =========================================================
   REVIEWS
   ========================================================= */

.reviews {
  padding: 90px 6%;
  background: #fffaf7;
}

.review-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #fffdfb;
  border: 1px solid #eee4dc;
  padding: 34px 27px;
  text-align: center;
  transition: .3s ease;
}

.review-card:nth-child(1) {
  background: #f8f0f3;
}

.review-card:nth-child(2) {
  background: #f3f7f4;
}

.review-card:nth-child(3) {
  background: #f8f3ec;
}

.review-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: #b58a62;
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 16px;
}

.review-card p {
  color: #625a56;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.review-card strong {
  font-family: "Playfair Display", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #413a37;
}

/* =========================================================
   INSTAGRAM
   ========================================================= */

.instagram-section {
  padding: 82px 6%;
  background: var(--cream);
}

.instagram-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* =========================================================
   ABOUT
   ========================================================= */

/* =========================================================
   OUR STORY
   ========================================================= */

.about {
  padding: 105px 6%;
  background: #f6eee7;
}

.about-content {
  max-width: 820px;
  margin: auto;
  text-align: center;
  position: relative;
}

.about-content > span {
  display: block;
  color: #9a7a6b;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.about-content h2 {
  font-family: "Playfair Display", sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #393331;
  margin-bottom: 25px;
}

.about-content p {
  max-width: 680px;
  margin: auto;
  color: #756d68;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.15px;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  padding: 85px 6%;
  background: var(--cream);
}

.contact-box {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-box > div {
  padding-top: 10px;
}

.contact-box h3 {
  font-size: 25px;
  margin-bottom: 15px;
}

.contact-box > div p {
  color: var(--grey);
  font-size: 13px;
  margin-bottom: 9px;
}

.contact-box form {
  background: var(--white);
  padding: 30px;
  border: 1px solid var(--border);
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 13px;
  margin-bottom: 13px;
  font-size: 12px;
  outline: none;
}

.contact-box textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-box input:focus,
.contact-box textarea:focus {
  border-color: var(--accent);
}

.primary-btn {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 13px 24px;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 6% 35px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  width: 58px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #aaa39f;
  font-size: 12px;
}

footer h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 17px;
}

footer > div:not(.footer-brand) a,
footer > div:not(.footer-brand) button {
  display: block;
  color: #bcb5b1;
  background: none;
  border: 0;
  padding: 0;
  font-size: 11px;
  margin-bottom: 10px;
  text-align: left;
}

footer a:hover,
footer button:hover {
  color: var(--white) !important;
}

/* FINAL FOOTER LOGO */

.footer-brand img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
  filter: none;
}

.copyright {
  background: var(--black);
  color: #817a76;
  border-top: 1px solid #383432;
  text-align: center;
  padding: 20px 6%;
  font-size: 10px;
}

/* =========================================================
   OVERLAY
   ========================================================= */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,.68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay.active {
  display: flex;
}

/* =========================================================
   PRODUCT DETAIL — NEW
   ========================================================= */

.detail-page {
  position: relative;
  width: min(1100px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 25px 80px rgba(0,0,0,.3);
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 22px;
  display: grid;
  place-items: center;
}

.detail-gallery {
  padding: 25px;
  background: var(--cream);
}

.main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: .82;
  overflow: hidden;
  background: #eee8e1;
}

.main-image-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  z-index: 4;
  font-size: 25px;
}

.left-arrow {
  left: 12px;
}

.right-arrow {
  right: 12px;
}

.zoom-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
}

.thumbnail-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
}

.thumbnail-gallery img {
  width: 65px;
  height: 78px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid transparent;
  cursor: pointer;
}

.thumbnail-gallery img.active {
  border-color: var(--black);
}

.detail-info {
  padding: 40px;
  overflow-y: auto;
}

.detail-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-right: 35px;
}

.detail-category {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.detail-info h2 {
  font-family: "Playfair Display", sans-serif;
  font-size: 31px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.detail-price {
  font-size: 18px;
  font-weight: 700;
}

.detail-actions {
  display: flex;
  gap: 7px;
}

.detail-actions button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 17px;
}

.option-section {
  border-top: 1px solid var(--border);
  margin-top: 25px;
  padding-top: 20px;
}

.option-section h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  margin-bottom: 12px;
}

#selectedColorText {
  color: var(--grey);
  font-weight: 400;
  margin-left: 4px;
}

.color-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-option {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 10px;
}

.color-option.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.size-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.size-heading button {
  background: none;
  border: 0;
  color: var(--accent);
  text-decoration: underline;
  font-size: 10px;
}

.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-options button {
  width: 43px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 11px;
}

.size-options button.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.purchase-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 25px;
}

.purchase-buttons button {
  height: 46px;
  border: 1px solid var(--black);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
}

.add-cart {
  background: var(--white);
  color: var(--black);
}

.buy-now {
  background: var(--black);
  color: var(--white);
}

.product-accordions {
  margin-top: 25px;
  border-top: 1px solid var(--border);
}

.product-accordions details {
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}

.product-accordions summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.product-accordions summary::-webkit-details-marker {
  display: none;
}

.product-accordions p {
  color: var(--grey);
  font-size: 11px;
  line-height: 1.8;
  padding-top: 10px;
}

/* =========================================================
   IMAGE VIEWER
   ========================================================= */

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0,0,0,.94);
  display: none;
  align-items: center;
  justify-content: center;
}

.image-viewer.active {
  display: flex;
}

.image-viewer > img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
}

.viewer-close {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  font-size: 25px;
}

.viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  font-size: 28px;
}

.viewer-left {
  left: 25px;
}

.viewer-right {
  right: 25px;
}

.viewer-counter {
  position: absolute;
  bottom: 20px;
  color: var(--white);
  font-size: 11px;
}

/* =========================================================
   CART / WISHLIST
   ========================================================= */

.small-overlay {
  justify-content: flex-end;
  padding: 0;
}

.side-panel {
  width: min(430px, 92vw);
  height: 100%;
  background: var(--white);
  position: relative;
  padding: 35px 22px 0;
  overflow-y: auto;
}

.side-panel > .close-btn {
  top: 18px;
  right: 18px;
}

.panel-heading {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 5px;
}

.panel-heading span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.panel-heading h2 {
  font-size: 26px;
}

#cartItems,
#wishlistItems {
  padding-bottom: 110px;
}

.cart-item,
.wishlist-card {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img,
.wishlist-card img {
  width: 70px;
  height: 82px;
  object-fit: cover;
}

.cart-item h4,
.wishlist-card h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  line-height: 1.4;
}

.cart-item p,
.wishlist-card p {
  font-size: 10px;
  color: var(--grey);
}

.cart-bottom {
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 17px 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
}

.checkout-btn {
  width: 100%;
  height: 45px;
  border: 0;
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
}

/* =========================================================
   MODALS
   ========================================================= */

.modal-card {
  position: relative;
  width: min(550px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  padding: 35px;
}

.modal-card .section-heading {
  text-align: left;
}

.size-table-wrap {
  overflow-x: auto;
}

.size-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.size-table-wrap th,
.size-table-wrap td {
  border: 1px solid var(--border);
  padding: 11px;
  text-align: center;
}

.size-table-wrap th {
  background: var(--cream);
}

.note {
  color: var(--grey);
  font-size: 11px;
  margin-top: 15px;
}

.policy-card {
  width: min(650px, 94vw);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

  .desktop-nav {
    gap: 18px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .announcement {
    height: 32px;
    font-size: 8px;
  }

  .header {
    height: 70px;
    padding: 0 5%;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-text h1 {
    font-size: 17px;
  }

  .brand-text span {
    font-size: 6px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: grid;
    order: -1;
  }

  .header-actions button,
  .menu-btn {
    width: 35px;
    height: 35px;
    font-size: 17px;
  }

  .mobile-menu {
    top: 102px;
  }

  .hero {
    min-height: 530px;
    padding: 50px 7%;
    background-position: center center;
    background-size: cover;
  }

  .hero h2 {
    font-size: 47px;
  }

  .hero-content > p:not(.hero-small) {
    font-size: 12px;
  }

  .categories,
  .products-section,
  .why-us,
  .reviews,
  .instagram-section,
  .about,
  .contact {
    padding: 60px 5%;
  }

  .category-grid {
    gap: 10px;
  }

  .category-grid > button {
    height: 260px;
  }

  .category-grid > button span {
    left: 13px;
    bottom: 13px;
    font-size: 17px;
  }


  .product-grid {
    gap: 26px 10px;
  }

  .product-info h3 {
    font-size: 11px;
  }

  .product-price {
    font-size: 12px;
  }

  .product-heart {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }

  .why-grid {
    gap: 28px 15px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .detail-page {
    width: 96vw;
    max-height: 94vh;
    grid-template-columns: 1fr;
  }

  .detail-gallery {
    padding: 12px;
  }

  .main-image-wrap {
    aspect-ratio: .9;
  }

  .detail-info {
    padding: 25px 20px 30px;
  }

  .detail-info h2 {
    font-size: 27px;
  }

  .purchase-buttons {
    grid-template-columns: 1fr;
  }
}

 @media (max-width: 480px) {
  .brand-text {
    display: flex;
  }

  .header-actions {
    gap: 14px;
  }

  .header-actions button,
  .header-actions a {
    font-size: 21px;
    font-weight: 400;
  }

  .search-icon,
  .cart-icon {
    font-size: 22px;
    font-weight: 400;
  }


  .hero {
    min-height: 500px;
    background-position: center center;
    background-size: cover;
  }

  .hero h2 {
    font-size: 42px;
  }

  .category-grid > button {
    height: 220px;
  }

  .category-grid > button span {
    font-size: 15px;
  }

  .product-grid {
    gap: 23px 8px;
  }

  .product-image-wrap {
    aspect-ratio: .76;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .instagram-grid {
    gap: 5px;
  }

  .modal-card {
    padding: 25px 18px;
  }
}
/* =========================================================
   FINAL SMALL FIXES
========================================================= */

/* Header wishlist/cart counters */
.icon-with-badge {
  position: relative;
}

.icon-badge {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 50%;
  background: #8b625b;
  color: #fff;
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  font-weight: 700;
  display: none;
}

.icon-badge.show {
  display: block;
}


/* Product collection heading */
.collection-heading {
  text-align: center;
}

.collection-heading.left {
  text-align: center;
}


/* Popup color circles */
/* FINAL COLOR CIRCLE STYLE */

.color-option {
  width: 34px;
  height: 34px;
  padding: 2px;
  margin: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.color-circle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: block;
  border-radius: 50%;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.color-option.active {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.color-option.active .color-circle {
  border: 2px solid #171515 !important;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #171515;
}


/* Wishlist remove */
.wishlist-remove {
  border: 1px solid #ded7d0;
  background: transparent;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
}
/* =========================================================
   WISHLIST META
========================================================= */

.wishlist-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
  font-size: 9px;
  color: var(--grey);
  line-height: 1.4;
}


/* =========================================================
   WISHLIST REMOVE BUTTON
========================================================= */

.wishlist-remove {
  min-width: 55px;
  height: 31px;
  padding: 0 8px;
  display: grid;
  place-items: center;

  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: .5px;
}

.wishlist-remove:hover {
  background: var(--cream);
}

/* =========================================================
   FINAL WISHLIST UI
========================================================= */

.wishlist-card {
  grid-template-columns: 70px 1fr;
  position: relative;
  align-items: start;
}

.wishlist-card img {
  cursor: pointer;
  transition: .25s ease;
}

.wishlist-card img:hover {
  opacity: .85;
}

.wishlist-info {
  min-width: 0;
  padding-right: 2px;
}

.wishlist-info h4 {
  font-size: 11px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 5px;
}

.wishlist-info p {
  font-size: 11px;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 10px;
}

.wishlist-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wishlist-view {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: 7px 10px;
  font-size: 8px;
  letter-spacing: .8px;
  font-weight: 700;
}

.wishlist-view:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.wishlist-remove {
  width: 31px;
  height: 31px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  font-size: 17px;
}

.wishlist-remove:hover {
  background: var(--cream);
}


/* EMPTY WISHLIST */

.wishlist-empty {
  text-align: center;
  padding: 70px 20px;
}

.wishlist-empty-icon {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  color: var(--accent);
  margin-bottom: 15px;
}

.wishlist-empty h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 8px;
}

.wishlist-empty p {
  max-width: 260px;
  margin: 0 auto 22px;
  color: var(--grey);
  font-size: 11px;
  line-height: 1.7;
}

.wishlist-empty .primary-btn {
  font-size: 9px;
  padding: 11px 17px;
}


/* Footer logo */
.footer-brand img {
  display: block;
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}
/* CART & WISHLIST COUNT BADGE */

.icon-badge {
  display: none;
  position: absolute;
  top: -6px;
  right: -8px;

  min-width: 16px;
  height: 16px;
  padding: 0 4px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #171515;
  color: #ffffff;

  font-size: 9px;
  line-height: 1;
  font-weight: 600;
}

.icon-badge.show {
  display: flex !important;
}
/* CART BADGE FIX */

.header-actions button {
  position: relative;
}

.icon-badge {
  display: none;
  position: absolute;
  top: 2px;
  right: 1px;

  min-width: 16px;
  height: 16px;
  padding: 0 4px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #171515;
  color: #ffffff;

  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  z-index: 10;
}

.icon-badge.show {
  display: flex !important;
}

/* FINAL FOOTER DESKTOP ALIGNMENT */

@media (min-width: 769px) {
  footer {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 20px;
  }

  footer > div {
    min-width: 0;
  }

  footer > div:last-child {
    grid-column: auto;
  }
}
@media (min-width: 769px) {
  footer > div:last-child {
    grid-column: 4;
    grid-row: 1;
  }
}

/* Mobile width fix */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

/* =========================================================
   ADDED TO CART STATE
========================================================= */


/* =========================================================
   FINAL WISHLIST ACTION FIX
========================================================= */

.wishlist-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  flex-wrap: nowrap;
}

.wishlist-view {
  flex: 1;
  min-width: 0;
  height: 31px;
  padding: 0 8px;
  white-space: nowrap;
  font-size: 8px;
}

.wishlist-remove {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* =========================================================
   FINAL WISHLIST BUTTON ALIGNMENT
========================================================= */

.wishlist-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.wishlist-view {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .7px;
  white-space: nowrap;
  line-height: 30px;
}

.wishlist-view:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.wishlist-remove {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
}

.wishlist-remove:hover {
  background: var(--cream);
}

/* =========================================================
   FINAL WISHLIST REMOVE BUTTON
========================================================= */

.wishlist-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.wishlist-view {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  font-size: 8px;
  line-height: 30px;
  white-space: nowrap;
}

.wishlist-remove {
  flex: 0 0 auto;
  width: auto;
  min-width: 52px;
  height: 30px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
}

.wishlist-remove:hover {
  background: var(--cream);
}

/* Product card wishlist */
.product-heart.active {
  color: #171515;
  background: #F8F3F0;
}
.cart-qty-minus,
.cart-qty-number,
.cart-qty-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
}

.cart-qty-minus,
.cart-qty-plus {
  width: 36px;
  cursor: pointer;
}

.cart-qty-number {
  min-width: 40px;
  font-weight: 600;
  cursor: default;
}

.product-image-wrap,
.product-image-wrap img,
#detailMainImage {
  cursor: default !important;
}
.product-info h3 {
  font-family: "DM Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3;
  letter-spacing: 0;
  color: #171515;
}
#detailAddToCartBtn.added {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

#detailAddToCartBtn.added .cart-qty-minus,
#detailAddToCartBtn.added .cart-qty-number,
#detailAddToCartBtn.added .cart-qty-plus {
  color: #fff !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  #detailName {
    font-size: 24px !important;
  }
}

#detailName {
  font-family: "DM Sans", sans-serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--black);
}

@media (max-width: 768px) {
  #detailName {
    font-size: 24px !important;
  }
}

@media (max-width: 480px) {
  .brand-text {
    display: flex;
  }

  .brand-text span {
    display: none;
  }
}
/* =========================================================
   NE FASHIONS OPENING INTRO
========================================================= */

#intro-screen {
  position: fixed;
  inset: 0;
  background: #F3E1E5;  
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity .6s ease, visibility .6s ease;
}

.intro-brand {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 5px;
  color: #171515;
  text-align: center;
}
.intro-content {
  text-align: center;
}

.intro-tagline {
  margin-top: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: #777;
  text-transform: uppercase;
}

#intro-screen.intro-done {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 480px) {

  .intro-brand {
    font-size: 25px;
    letter-spacing: 3px;
  }

  .intro-tagline {
    font-size: 8px;
    letter-spacing: 2px;
    margin-top: 6px;
  }
}

#categoryBackButton {
  display: none;
  margin: 0 0 24px;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: #171515;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
}

#categoryBackButton:hover {
  opacity: .65;
}

#categoryBackButton {
  display: none;
  margin: 0 0 24px;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: #171515;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
}

#categoryBackButton:hover {
  opacity: .65;
}
.cart-size-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.cart-size-label {
  font-size: 10px;
  color: #777;
}

.cart-size-options {
  display: flex;
  gap: 5px;
}

.cart-size-option {
  min-width: 28px;
  height: 26px;
  padding: 0 6px;
  border: 1px solid #d8d2ce;
  background: #fff;
  color: #171515;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}

.cart-size-option.active {
  background: #171515;
  color: #fff;
  border-color: #171515;
}

.cart-size-option:hover {
  border-color: #171515;
}

/* =========================================================
   CHECKOUT — CUSTOMER DETAILS + ORDER OPTIONS
   ========================================================= */

.checkout-card {
  width: min(560px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px;
  position: relative;
}

.checkout-card .section-heading {
  margin-bottom: 28px;
}

.checkout-card .section-heading h2 {
  font-size: 32px;
}

/* Checkout total */

.checkout-summary {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 16px 18px;
  margin-bottom: 25px;
}

.checkout-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.checkout-summary span {
  color: var(--grey);
  font-size: 11px;
  letter-spacing: .5px;
}

.checkout-summary strong {
  font-size: 17px;
  font-weight: 700;
}

/* Checkout fields */

.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
}

.checkout-field label {
  font-size: 10px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: .4px;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  padding: 12px 13px;
  font-size: 12px;
  outline: none;
  border-radius: 0;
}

.checkout-field textarea {
  resize: vertical;
  min-height: 82px;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: var(--accent);
}

.checkout-field input::placeholder,
.checkout-field textarea::placeholder {
  color: #aaa29d;
}

/* City + State */

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Continue button */

.checkout-continue-btn {
  width: 100%;
  height: 46px;
  margin-top: 25px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: .25s ease;
}

.checkout-continue-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* =========================================================
   CHECKOUT OPTIONS
   ========================================================= */

.checkout-options {
  margin-top: 5px;
}

.checkout-options-heading {
  margin-bottom: 22px;
}

.checkout-options-heading > span {
  display: block;
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.checkout-options-heading h3 {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 7px;
}

.checkout-options-heading p {
  color: var(--grey);
  font-size: 11px;
  line-height: 1.7;
}

/* Order option buttons */

.order-option {
  width: 100%;
  min-height: 78px;
  padding: 15px 16px;
  margin-bottom: 12px;

  display: grid;
  grid-template-columns: 38px 1fr 20px;
  align-items: center;
  gap: 12px;

  text-align: left;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);

  transition: .25s ease;
}

.order-option:hover {
  border-color: var(--accent);
  background: var(--cream);
}

.order-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  font-size: 17px;
}

.order-option-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.order-option-content strong {
  font-size: 12px;
  font-weight: 700;
}

.order-option-content small {
  color: var(--grey);
  font-size: 9px;
  line-height: 1.5;
}

.order-option > span:last-child {
  font-size: 18px;
  color: var(--accent);
  text-align: center;
}

/* WhatsApp */

.whatsapp-option:hover {
  border-color: #6d9b72;
}

.whatsapp-option .order-option-icon {
  background: #edf5ed;
}

/* UPI */

.upi-option:hover {
  border-color: var(--accent);
}

.upi-option .order-option-icon {
  background: #f5eee9;
}

/* Back button */

.checkout-back-btn {
  display: block;
  margin: 18px auto 0;
  border: 0;
  background: transparent;
  color: var(--grey);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
}

.checkout-back-btn:hover {
  color: var(--black);
}

/* =========================================================
   CHECKOUT MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .checkout-card {
    width: 94vw;
    max-height: 92vh;
    padding: 30px 20px;
  }

  .checkout-card .section-heading {
    margin-bottom: 22px;
  }

  .checkout-card .section-heading h2 {
    font-size: 27px;
  }

  .checkout-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .checkout-summary {
    padding: 14px;
  }

  .order-option {
    min-height: 74px;
    padding: 13px;
  }
}

@media (max-width: 480px) {

  .checkout-card {
    width: 95vw;
    padding: 28px 17px;
  }

  .checkout-card .close-btn {
    top: 12px;
    right: 12px;
  }

  .checkout-card .section-heading h2 {
    font-size: 25px;
  }

  .checkout-field input,
  .checkout-field textarea {
    font-size: 12px;
    padding: 11px 12px;
  }

  .order-option {
    grid-template-columns: 34px 1fr 15px;
    gap: 9px;
    padding: 12px;
  }

  .order-option-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .order-option-content strong {
    font-size: 11px;
  }

  .order-option-content small {
    font-size: 8px;
  }
}

/* =========================================================
   UPI PAYMENT SCREEN
========================================================= */

.upi-card {
  width: min(500px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px;
  position: relative;
}

.upi-card .section-heading {
  margin-bottom: 24px;
}

.upi-card .section-heading h2 {
  font-size: 30px;
}


/* ---------------- TOTAL ---------------- */

.upi-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 18px;
  margin-bottom: 24px;

  background: var(--cream);
  border: 1px solid var(--border);
}

.upi-total-box span {
  color: var(--grey);
  font-size: 10px;
  letter-spacing: .5px;
}

.upi-total-box strong {
  font-size: 18px;
}


/* ---------------- QR SECTION ---------------- */

.upi-payment-content {
  display: flex;
  flex-direction: column;
}

.upi-qr-section {
  text-align: center;
}

.upi-pay-label {
  margin-bottom: 14px;

  color: var(--grey);
  font-size: 10px;
  letter-spacing: .3px;
}


/* ---------------- QR PLACEHOLDER ---------------- */

.upi-qr-box {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 12px;
}

.upi-qr-placeholder {
  width: 190px;
  height: 190px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px dashed var(--border);
  background: var(--cream);
}

.upi-qr-placeholder span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

.upi-qr-placeholder small {
  margin-top: 6px;

  color: var(--grey);
  font-size: 8px;
  letter-spacing: 2px;
}


/* ---------------- OR ---------------- */

.upi-or {
  margin: 8px 0 12px;

  color: var(--grey);
  font-size: 9px;
  letter-spacing: 1px;
}


/* ---------------- UPI ID ---------------- */

.upi-id-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 11px 12px;

  border: 1px solid var(--border);
  background: var(--white);
}

.upi-id-box span {
  color: var(--grey);
  font-size: 9px;
  letter-spacing: .5px;
}

.upi-id-box strong {
  font-size: 11px;
  font-weight: 700;
}

.upi-id-box button {
  padding: 6px 8px;

  border: 1px solid var(--border);
  background: var(--white);

  color: var(--black);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: .8px;

  cursor: pointer;
}

.upi-id-box button:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ---------------- INSTRUCTION ---------------- */

.upi-instruction {
  margin: 22px 0 18px;
  padding: 14px;

  background: var(--cream);
  border-left: 2px solid var(--accent);
}

.upi-instruction strong {
  display: block;

  margin-bottom: 5px;

  font-size: 10px;
}

.upi-instruction p {
  color: var(--grey);
  font-size: 9px;
  line-height: 1.6;
}


/* ---------------- CHECKBOX ---------------- */

.upi-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;

  margin-top: 16px;

  color: var(--grey);
  font-size: 9px;
  line-height: 1.5;

  cursor: pointer;
}

.upi-confirm-check input {
  margin-top: 1px;
  accent-color: var(--black);
}


/* ---------------- MOBILE ---------------- */

@media (max-width: 768px) {

  .upi-card {
    width: 94vw;
    max-height: 92vh;
    padding: 30px 20px;
  }

  .upi-card .section-heading h2 {
    font-size: 27px;
  }

  .upi-qr-placeholder {
    width: 170px;
    height: 170px;
  }

  .upi-id-box {
    flex-wrap: wrap;
  }

}


@media (max-width: 480px) {

  .upi-card {
    width: 95vw;
    padding: 28px 17px;
  }

  .upi-qr-placeholder {
    width: 155px;
    height: 155px;
  }

}

/* =====================================================
   ORDER SUCCESS
===================================================== */

.order-success-card {
  width: min(520px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
}

.order-success-content {
  text-align: center;
  padding: 10px 4px 4px;
}

.order-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid currentColor;
  border-radius: 50%;

  font-size: 32px;
  font-weight: 700;
}

.order-success-content .section-heading.center {
  text-align: center;
  margin-bottom: 14px;
}

.order-success-content .section-heading.center span {
  display: block;
}

.order-success-content .section-heading.center h2 {
  margin-top: 6px;
}

.order-success-message {
  max-width: 420px;
  margin: 0 auto 22px;

  font-size: 14px;
  line-height: 1.7;
}

.order-success-number {
  padding: 16px 18px;
  margin-bottom: 18px;

  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.order-success-number span {
  display: block;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 7px;
}

.order-success-number strong {
  display: block;

  font-size: 20px;
  letter-spacing: 1px;
}

.order-success-summary {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  padding: 4px 0;
  margin-bottom: 20px;
}

.success-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 12px 4px;

  font-size: 13px;
}

.success-summary-row + .success-summary-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.success-summary-row span {
  text-align: left;
  opacity: 0.65;
}

.success-summary-row strong {
  text-align: right;
  font-weight: 600;
}

.order-success-note {
  padding: 16px;

  margin-bottom: 22px;

  border-radius: 12px;
  background: rgba(0, 0, 0, 0.035);

  text-align: left;
}

.order-success-note strong {
  display: block;
  margin-bottom: 6px;

  font-size: 13px;
}

.order-success-note p {
  margin: 0;

  font-size: 13px;
  line-height: 1.6;
  opacity: 0.75;
}

.order-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-success-actions button {
  width: 100%;
}


/* =====================================================
   ORDER SUCCESS — MOBILE
===================================================== */

@media (max-width: 600px) {

  .order-success-card {
    width: 92vw;
    max-height: 88vh;
  }

  .order-success-content {
    padding: 6px 0 2px;
  }

  .order-success-icon {
    width: 56px;
    height: 56px;

    margin-bottom: 14px;

    font-size: 28px;
  }

  .order-success-message {
    font-size: 13px;
    line-height: 1.6;
  }

  .order-success-number {
    padding: 14px;
  }

  .order-success-number strong {
    font-size: 18px;
  }

  .success-summary-row {
    font-size: 12px;
    padding: 11px 2px;
  }

  .order-success-note {
    padding: 14px;
  }

}