/* =========================
   ROOT VARIABLES
========================= */

:root {

  --bg-color: #ffffff;

  --text-color: #111111;

  --muted-color: #777777;

  --dark-color: #111111;

  --light-color: #f8f9fa;

  --border-color: rgba(0,0,0,0.08);

  --shadow-sm: 0 8px 25px rgba(0,0,0,0.06);

  --shadow-lg: 0 20px 40px rgba(0,0,0,0.10);

  --transition: 0.3s ease;

  --radius-sm: 12px;

  --radius-md: 18px;

  --radius-lg: 24px;

}

/* =========================
   GLOBAL RESET
========================= */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}

/* =========================
   BODY
========================= */

body {

  background: var(--bg-color);

  color: var(--text-color);

  font-family: sans-serif;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

  overflow-x: hidden;

}

/* =========================
   SMOOTH SCROLL
========================= */

html {

  scroll-behavior: smooth;

}

/* =========================
   GLOBAL CONTAINER
========================= */

.container {

  max-width: 1500px;

}

/* =========================
   GLOBAL SECTION SPACING
========================= */

section {

  padding: 80px 0;

}

/* =========================
   GLOBAL IMAGES
========================= */

img {

  max-width: 100%;

  display: block;

}

/* =========================
   GLOBAL TYPOGRAPHY
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {

  font-weight: 700;

  letter-spacing: 0.5px;

}

p {

  line-height: 1.8;

  color: var(--muted-color);

}

/* =========================
   FASHION TITLES
========================= */

.fashion-title {

  font-size: 42px;

  margin-bottom: 15px;

}

/* =========================
   GLOBAL BUTTON SYSTEM
========================= */

.btn {

  border-radius: var(--radius-sm);

  padding: 8px 15px;

  font-weight: 500;

  transition: var(--transition);

}

.btn:hover {

  transform: translateY(-2px);

}

/* =========================
   FORM CONTROLS
========================= */

.form-control,
.form-select {

  border-radius: var(--radius-sm);

  padding: 12px;

  border: 1px solid var(--border-color);

}

/* =========================
   GLOBAL CARD SYSTEM
========================= */

.card {

  border: none;

  border-radius: var(--radius-lg);

  overflow: hidden;

  transition: 0.4s ease;

  height: 100%;

  box-shadow: var(--shadow-sm);

}

.card:hover {

  transform: translateY(-8px);

  box-shadow: var(--shadow-lg);

}

/* =========================
   CARD IMAGES
========================= */

.card img {

  width: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  transition: 0.4s ease;

}

.card:hover img {

  transform: scale(1.04);

}

/* =========================
   PRODUCT TITLE
========================= */

.card h5,
.card h6 {

  font-weight: 600;

}

/* =========================
   PRODUCT PRICE
========================= */

.card p {

  font-weight: 500;

}

/* =========================
   PREMIUM NAVBAR
========================= */

body {
  padding-top: 57px;
}

@media (max-width: 768px) {
  body {
    padding-top: 97px;
  }
}

.navbar {

  padding: 6px 0;

  background: #fff !important;

  border-bottom: 1px solid var(--border-color);

}

.navbar-brand {

  font-size: 36px;

  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;

  transition: 0.3s ease;


}
.navbar-brand:hover {

  transform: scale(1.05);
  

}

/* =========================
   HERO SECTION
========================= */


.hero-image {

  height: 400px;

  width: 100%;

  object-fit: contain;

  border-radius: var(--radius-lg);

  transition: 0.4s ease-in-out;

}

.hero-image:hover {

  transform: scale(1.07);

}

/* =========================
   PRODUCT CARD
========================= */

.product-card {

  cursor: pointer;

}

/* =========================
   PRODUCT IMAGE EFFECT
========================= */

.product-image {

  transition: 0.3s ease;

}

.product-card:hover .product-image {

  transform: scale(1.05);

}

/* =========================
   PRODUCT DETAILS IMAGE
========================= */

.product-details-image {

  transition: 0.3s ease;

}

.product-details-image:hover {

  transform: scale(1.03);

}
/* =========================
   NEW ARRIVALS SECTION
========================= */

#newArrivalsSection .row {

  justify-content: center;

}

#newArrivalsSection .fashion-title {

  margin-bottom: 10px;

}

#newArrivalsSection .text-muted {

  margin-bottom: 0;

}

.new-arrival-price {

  margin: 0;

  font-weight: 600;

}

/* =========================
   NEW ARRIVAL CARD
========================= */

.new-arrival-card {

  max-width: 300px;

  width: 100%;

  background-color: #E5E7EB !important;

  color: #111;

}


.new-arrival-card .home-category-image {

   object-fit: cover;

   width: 100%;

   height: 220px;

}

@media (max-width: 768px) {

  .new-arrival-card {

    max-width: 220px;

    padding: 1px;
  }

  .new-arrival-card .home-category-image {

    height: 190px;

    transform: scale(1.03);

    transition: 0.4s ease;

  }

}




/* =========================
   HOME CATEGORIES START
========================= */

.home-category-card {

  background: #fff;

  border: 1px solid #e5e5e5;

  border-radius: 24px;

  padding: 10px;

  text-align: center;

  height: 100%;

  transition: 0.4s ease;

  cursor: pointer;

  overflow: hidden;

}

.home-category-card:hover {

  border-color: #111;

  transform: translateY(-8px);

  box-shadow: 0 20px 40px rgba(0,0,0,0.08);

}

.home-category-image {

  width: 100%;

  height: 220px;

  object-fit: cover;

  border-radius: 16px;

  margin-bottom: 10px;

  transition: 0.4s ease;

}

.home-category-card:hover
.home-category-image {

  transform: scale(1.03);

}

.home-category-title {

  font-weight: 700;

  margin-bottom: 0px;

}

.home-category-card:hover
.home-category-title {

  color: #111;

}

.home-category-tags {

  display: flex;

  justify-content: center;

  gap: 10px;

  flex-wrap: wrap;

}

.home-category-tag {

  padding: 8px 14px;

  border: 1px solid #ddd;

  border-radius: 50px;

  font-size: 14px;

  transition: 0.3s ease;

}

.home-category-tag:hover {

  background: #111;

  border-color: #111;

  color: #fff;

}

/* =========================
   CATEGORY SHOWCASE CARDS
========================= */

.category-showcase-card {

  background: #fff;

  border: 1px solid #eaeaea;

  border-radius: 24px;

  overflow: hidden;

  transition: 0.4s ease;

  cursor: pointer;

  height: 100%;

  box-shadow: 0 10px 30px rgba(0,0,0,0.04);

}

.category-showcase-card:hover {

  transform: translateY(-10px);

  border-color: #111;

  box-shadow: 0 25px 50px rgba(0,0,0,0.12);

}

.category-image-wrapper {

  overflow: hidden;

}

.category-showcase-image {

  width: 100%;

  height: 260px;

  object-fit: cover;

  transition: 0.5s ease;

}

.category-showcase-card:hover
.category-showcase-image {

  transform: scale(1.08);

}

.category-showcase-content {

  padding: 25px;

  text-align: center;

}

.category-showcase-content h5 {

  margin-bottom: 15px;

  transition: 0.3s ease;

}

.category-showcase-card:hover h5 {

  color: #111;

}

.category-tags {

  display: flex;

  justify-content: center;

  gap: 8px;

  flex-wrap: wrap;

}

.category-tags span {

  padding: 6px 12px;

  border-radius: 50px;

  background: #f5f5f5;

  font-size: 12px;

  transition: 0.3s ease;

}

.category-showcase-card:hover
.category-tags span {

  background: #111;

  color: #fff;

}

/* =========================
   QUANTITY BUTTONS
========================= */

.quantity-btn {

  width: 32px;

  height: 32px;

  padding: 0;

}

/* =========================
   SEARCH INPUT
========================= */

#searchInput {

  max-width: 500px;

  margin: auto;

}

/* =========================
   EMPTY MESSAGE
========================= */

#emptyCartMessage,
#productsContainer p {

  font-size: 18px;

  font-weight: 500;

}

/* =========================
   CHECKOUT TOTAL
========================= */

#checkoutTotal {

  font-weight: 700;

}

/* =========================
   CART IMAGES
========================= */

#cartContainer img {

  height: 220px;

  object-fit: cover;

}

/* =========================
   CHECKOUT IMAGES
========================= */

#orderItems img {

  width: 80px;

  height: 80px;

  object-fit: cover;

  border-radius: var(--radius-sm);

}

/* =========================
   TOAST
========================= */

#toastContainer {

  position: fixed;

  top: 20px;

  right: 20px;

  z-index: 9999;

}

.custom-toast {

  background: #212529;

  color: #fff;

  padding: 12px 20px;

  border-radius: var(--radius-sm);

  animation: fadeIn 0.3s ease;

}

@keyframes fadeIn {

  from {

    opacity: 0;

    transform: translateY(-10px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}

/* =========================
   MODAL DESIGN
========================= */

.modal-content {

  border-radius: var(--radius-lg);

  border: none;

}

.modal img {

  max-height: 300px;

  object-fit: cover;

}


/* =========================
   PREMIUM FOOTER
========================= */

.fashion-footer {

  background: #111;

  color: #fff;

  padding-top: 80px;

  margin-top: 80px;

}

.footer-logo {

  font-size: 34px;

  margin-bottom: 20px;

}

.footer-text {

  color: #bbb;

}

.footer-heading {

  font-size: 18px;

  margin-bottom: 20px;

}

.footer-links {

  list-style: none;

  padding: 0;

}

.footer-links li {

  margin-bottom: 12px;

}

.footer-links a {

  text-decoration: none;

  color: #bbb;

  transition: var(--transition);

}

.footer-links a:hover {

  color: #fff;

  padding-left: 5px;

}

.footer-newsletter {

  display: flex;

  gap: 10px;

  margin-top: 20px;

}

.footer-bottom {

  border-top: 1px solid rgba(255,255,255,0.1);

  margin-top: 60px;

  padding: 25px 0;

  text-align: center;

  color: #aaa;

}

/* =========================
   DARK THEME
========================= */

body.dark-theme {

  background: #121212;

  color: #fff;

}

body.dark-theme .navbar {

  background: #1e1e1e !important;

}

body.dark-theme .card {

  background: #1e1e1e;

  color: #fff;

}

body.dark-theme .form-control,
body.dark-theme .form-select {

  background: #1e1e1e;

  color: #fff;

  border-color: #333;

}

body.dark-theme .text-muted {

  color: #bbb !important;

}

body.dark-theme .btn-outline-dark {

  color: #fff;

  border-color: #fff;

}

body.dark-theme .btn-outline-dark:hover {

  background: #fff;

  color: #000;

}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {

  .fashion-title {

    font-size: 32px;

  }

  .collection-overlay h3 {

    font-size: 28px;

  }

  .collection-overlay h4 {

    font-size: 22px;

  }

  .footer-newsletter {

    flex-direction: column;

  }

  .hero-section {

    text-align: center;

  }

}



/* =========================
   DELIVERY MESSAGE ANIMATION
========================= */

#deliveryMessage {

  overflow: hidden;
  
  line-height: 1;

}

#deliveryMessageText {

  display: inline-block;

  white-space: nowrap;

  animation: messageSlide 25s linear infinite;
  
  font-size: 12px !important;
}

@keyframes messageSlide {

  from {

    transform: translateX(100vw);

  }

  to {

  transform: translateX(-100vw);

  }

}