
/* =========================================
   MODESTY BY TF — MAIN STYLESHEET
========================================= */

:root {
  --cream: #f8f3ef;
  --ivory: #fffdfb;
  --pink: #ead4d5;
  --rose: #c68d91;
  --burgundy: #54212e;
  --dark: #302329;
  --muted: #87777a;
  --line: #e8dcda;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ivory);
  color: var(--dark);
  font-family: var(--sans);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

/* ANNOUNCEMENT */

.announcement-bar {
  background: var(--burgundy);
  color: #fff9f6;
  text-align: center;
  padding: 10px 15px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* HEADER */

.site-header {
  height: 82px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ivory);
  position: relative;
  z-index: 20;
}

.menu-toggle {
  border: none;
  background: transparent;
  width: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 1.5px;
  background: var(--dark);
  transition: width .3s ease;
}

.menu-toggle span:nth-child(2) {
  width: 17px;
}

.menu-toggle:hover span:nth-child(2) {
  width: 25px;
}

.brand-logo {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--burgundy);
}

.brand-logo span {
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 5px;
  margin-top: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: 1px;
}

.cart-link span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--burgundy);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 10px;
  margin-left: 4px;
}

/* MENU DRAWER */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 17, 20, .45);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: .35s;
}

.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(390px, 88%);
  background: var(--cream);
  z-index: 51;
  padding: 80px 45px 35px;
  transform: translateX(-100%);
  transition: transform .4s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-drawer.active {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: transparent;
  border: 0;
  font-size: 35px;
  cursor: pointer;
  color: var(--burgundy);
}

.menu-label,
.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 600;
}

.menu-label {
  color: var(--rose);
  margin-bottom: 35px;
}

.menu-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.menu-drawer nav a {
  font-family: var(--serif);
  font-size: 29px;
  transition: color .25s;
}

.menu-drawer nav a:hover {
  color: var(--rose);
}

.drawer-footer {
  position: absolute;
  bottom: 35px;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
}

/* HERO */

.hero-section {
  position: relative;
  height: min(760px, calc(100vh - 112px));
  min-height: 540px;
  background:
    linear-gradient(120deg, #80686b, #bd9c9b 55%, #6e5158);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(28, 16, 20, .65) 0%,
      rgba(28, 16, 20, .34) 47%,
      rgba(28, 16, 20, .04) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-left: 10%;
  max-width: 690px;
  animation: heroReveal 1s ease both;
}

.hero-content .eyebrow {
  color: #f3dada;
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: var(--serif);
  font-size: clamp(55px, 7vw, 94px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2px;
}

.hero-description {
  max-width: 390px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  margin: 25px 0 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  background: var(--ivory);
  color: var(--burgundy);
  padding: 17px 24px;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  transition: .3s;
}

.primary-button:hover {
  background: var(--burgundy);
  color: white;
  transform: translateY(-3px);
}

.primary-button span {
  font-size: 17px;
}

.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 6%;
  right: 6%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 9px;
  letter-spacing: 2px;
}

/* INTRO */

.intro-section {
  padding: 115px 20px;
  text-align: center;
  background: var(--cream);
}

.section-heading {
  max-width: 620px;
  margin: auto;
}

.section-heading .eyebrow {
  color: var(--rose);
  margin-bottom: 22px;
}

.section-heading h2,
.section-title-row h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 400;
  color: var(--burgundy);
}

.section-heading > p:last-child {
  max-width: 480px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* CATEGORY SECTION */

.categories-section,
.featured-section {
  padding: 100px 7%;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 38px;
}

.section-title-row .eyebrow {
  color: var(--rose);
  margin-bottom: 12px;
}

.text-link {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--burgundy);
  border-bottom: 1px solid var(--rose);
  padding-bottom: 6px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  display: block;
  min-width: 0;
}

.category-image {
  height: 420px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: .5s;
}

.category-card:hover .category-image {
  background-size: 108%;
}

.category-image span {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  font-size: 11px;
  letter-spacing: 2px;
}

.category-hijabs {
  background-image:
    linear-gradient(145deg, #b99a99, #70575c);
}

.category-shawls {
  background-image:
    linear-gradient(145deg, #d5b8ad, #8b6871);
}

.category-accessories {
  background-image:
    linear-gradient(145deg, #c7b4a9, #765c62);
}

.category-info {
  padding: 19px 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-info h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--burgundy);
}

.category-info span {
  font-size: 10px;
  color: var(--muted);
}

/* FEATURED */

.featured-section {
  background: var(--cream);
}

.featured-placeholder {
  min-height: 230px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.featured-placeholder p {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--burgundy);
}

/* BRAND STATEMENT */

.brand-statement {
  padding: 120px 20px;
  text-align: center;
  color: white;
  background: var(--burgundy);
}

.brand-statement .eyebrow {
  color: #e6bfc2;
  margin-bottom: 25px;
}

.brand-statement h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 35px;
}

.light-button {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.6);
  padding: 16px 27px;
  font-size: 10px;
  letter-spacing: 2px;
  transition: .3s;
}

.light-button:hover {
  background: white;
  color: var(--burgundy);
}

/* NEWSLETTER */

.newsletter-section {
  text-align: center;
  padding: 100px 20px;
  background: var(--ivory);
}

.newsletter-section .eyebrow {
  color: var(--rose);
  margin-bottom: 18px;
}

.newsletter-section h2 {
  font-family: var(--serif);
  color: var(--burgundy);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 400;
}

.newsletter-section p {
  margin: 17px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

/* FOOTER */

.site-footer {
  background: #f1e8e4;
  padding: 65px 7% 25px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 12px;
}

.footer-contact p {
  font-family: var(--serif);
  color: var(--burgundy);
  font-size: 19px;
  margin-bottom: 14px;
}

.footer-contact a {
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

/* ANIMATION */

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .category-image {
    height: 320px;
  }

  .category-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .announcement-bar {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .site-header {
    height: 70px;
    padding: 0 5%;
  }

  .brand-logo {
    font-size: 17px;
    letter-spacing: 2px;
  }

  .brand-logo span {
    font-size: 8px;
  }

  .header-actions {
    gap: 12px;
    font-size: 10px;
  }

  .hero-section {
    min-height: 620px;
    height: calc(100svh - 100px);
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(28, 16, 20, .67),
      rgba(28, 16, 20, .18)
    );
  }

  .hero-content {
    padding: 0 7%;
  }

  .hero-content h1 {
    font-size: 57px;
  }

  .hero-content .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-bottom {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .intro-section {
    padding: 80px 22px;
  }

  .categories-section,
  .featured-section {
    padding: 75px 6%;
  }

  .section-title-row {
    gap: 15px;
    align-items: end;
  }

  .section-title-row h2 {
    font-size: 32px;
  }

  .section-title-row .text-link {
    font-size: 9px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .category-image {
    height: 420px;
  }

  .category-info {
    flex-direction: row;
    align-items: center;
  }

  .brand-statement {
    padding: 90px 20px;
  }

  .newsletter-section {
    padding: 80px 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 55px 7% 25px;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================
   MODESTY BY TF — PREMIUM CART DESIGN
========================================= */

.cart-items {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.empty-cart {
  text-align: center;
  padding: 80px 20px;
  background: var(--cream);
}

.empty-cart h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  color: var(--burgundy);
  margin-bottom: 15px;
}

.empty-cart p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.empty-cart a {
  display: inline-block;
  background: var(--burgundy);
  color: white;
  padding: 15px 25px;
  font-size: 10px;
  letter-spacing: 1.5px;
  transition: .3s;
}

.empty-cart a:hover {
  background: var(--rose);
}

.cart-item {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:first-child {
  border-top: 1px solid var(--line);
}

.cart-item-image {
  width: 145px;
  height: 165px;
  object-fit: cover;
  background: var(--cream);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cart-item-details h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--burgundy);
}

.cart-item-details p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.cart-quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  margin-top: 5px;
  height: 38px;
}

.cart-quantity button {
  width: 38px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--burgundy);
  cursor: pointer;
  font-size: 19px;
}

.cart-quantity button:hover {
  background: var(--cream);
}

.cart-quantity span {
  min-width: 32px;
  text-align: center;
  font-size: 12px;
}

.remove-cart-item {
  border: none;
  background: transparent;
  color: var(--rose);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}

.cart-item-total {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--burgundy);
  white-space: nowrap;
}

.cart-summary {
  width: 100%;
  max-width: 430px !important;
  margin: 40px 0 0 auto !important;
  padding: 30px !important;
  background: var(--cream);
}

.cart-summary strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--burgundy);
}

.cart-summary .primary-button {
  background: var(--burgundy);
  color: white;
}

.cart-summary .primary-button:hover {
  background: var(--rose);
}

/* CART RESPONSIVE */

@media (max-width: 650px) {
  .cart-item {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  .cart-item-image {
    width: 100px;
    height: 125px;
  }

  .cart-item-details h3 {
    font-size: 17px;
  }

  .cart-item-details {
    gap: 8px;
  }

  .cart-item-total {
    grid-column: 2;
    font-size: 17px;
    margin-top: -8px;
  }

  .cart-summary {
    padding: 22px !important;
  }

  .empty-cart {
    padding: 60px 15px;
  }

  .empty-cart h2 {
    font-size: 28px;
  }
}

/* CUSTOMER REVIEWS */
.reviews-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.review-card {
  background: #fffaf8;
  border: 1px solid #eee1df;
  border-radius: 18px;
  padding: 28px;
}

.review-stars {
  color: #c28b53;
  letter-spacing: 4px;
  font-size: 18px;
  margin-bottom: 18px;
}

.review-text {
  color: #5f5358;
  font-size: 15px;
  line-height: 1.8;
  min-height: 105px;
}

.review-customer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0dfe5;
  color: #704b5b;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.review-customer h3 {
  font-size: 14px;
  margin: 0 0 4px;
}

.review-customer span {
  font-size: 12px;
  color: #93838a;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-text {
    min-height: auto;
  }
}

/* =====================================
   MODESTY BY TF — COMPACT MOBILE DESIGN
===================================== */

@media (max-width: 600px) {

  .announcement-bar {
    padding: 7px 10px;
    font-size: 8px;
    letter-spacing: 0.7px;
  }

  .site-header {
    height: 62px;
    padding: 0 4%;
  }

  .brand-logo {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .header-actions {
    gap: 10px;
    font-size: 10px;
  }

  .menu-toggle {
    width: 25px;
  }

  .hero-section {
    height: 470px;
    min-height: 470px;
  }

  .hero-content {
    padding: 0 7%;
  }

  .hero-content h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.12;
    letter-spacing: -1px;
  }

  .hero-content .eyebrow {
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 11px;
    line-height: 1.7;
    margin: 16px 0 22px;
  }

  .primary-button {
    padding: 13px 17px;
    font-size: 9px;
    gap: 18px;
  }

  .hero-bottom {
    bottom: 15px;
    font-size: 7px;
  }

  .intro-section {
    padding: 55px 18px;
  }

  .section-heading h2,
  .section-title-row h2 {
    font-size: 27px;
    line-height: 1.25;
  }

  .section-heading .eyebrow {
    margin-bottom: 13px;
  }

  .section-heading > p:last-child {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 13px;
  }

  .categories-section,
  .featured-section {
    padding: 50px 5%;
  }

  .section-title-row {
    margin-bottom: 22px;
  }

  .section-title-row h2 {
    font-size: 26px;
  }

  .category-grid {
    gap: 15px;
  }

  .category-image {
    height: 270px;
  }

  .category-info {
    padding: 12px 2px;
  }

  .category-info h3 {
    font-size: 19px;
  }

  .brand-statement {
    padding: 55px 18px;
  }

  .brand-statement h2 {
    font-size: 31px;
    line-height: 1.2;
    margin-bottom: 22px;
  }

  .newsletter-section {
    padding: 55px 18px;
  }

  .newsletter-section h2 {
    font-size: 27px;
  }

  .site-footer {
    padding: 40px 6% 20px;
    gap: 22px;
  }

  .footer-contact p {
    font-size: 17px;
  }

  .menu-drawer {
    padding: 70px 28px 30px;
  }

  .menu-drawer nav {
    gap: 17px;
  }

  .menu-drawer nav a {
    font-size: 24px;
  }

  .menu-close {
    font-size: 29px;
  }

  .reviews-section {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .reviews-grid {
    gap: 14px;
    margin-top: 22px;
  }

  .review-card {
    padding: 20px;
    border-radius: 12px;
  }

  .review-text {
    font-size: 13px;
    line-height: 1.7;
  }
}
