
/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", "Segoe UI", system-ui, sans-serif;
  color: #333;
  background-color: #faf4ed;
}

.letter-spacing-1 {
  letter-spacing: 0.12em;
}
#user::after {
  display: none; 
}
.navbar {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.navbar-brand {
  color: #502913 !important;
  letter-spacing: -0.02em;
}
.dropdown-item {
  color: black;             
  text-decoration: none;     
}
.cart_container {
position: relative;
}
.cart_container span{
position: absolute;
top: 18px;
left: 18px;
background-color: #502913;
width: 20px;
height: 20px;
border-radius: 50% ;
color: #ffffff;
 display: flex;
  align-items: center;
  justify-content: center;

}
.form-control{
    border-radius: 15px;
    
}
 
.form-control:focus {
  border-color: #502913;
  box-shadow: 0 0 0 0.2rem rgba(80, 41, 19, 0.25);
}
/* hero  --------------------------------------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("images/nadir-syzygy--WUhp-1aabo-unsplash.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 1500px;
  flex-wrap: nowrap;
}

.text-box {
  flex: 0.5;
  min-width: 300px;
  max-width: 500px;
  background-color: rgba(250, 244, 237, 0.945);
  padding: 1.5rem;
  border-radius: 15px;
  justify-self: flex-end;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  margin: 0;
}

.text-box h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.text-box p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.text-box .btn {
  width: 60%;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  white-space: nowrap;
  background-color: #502913;
  color: white;
}

.hero-image {
  flex: 2;
  min-width: 300px;
  max-width: 800px;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
  background-color: rgba(247, 225, 196, 0.63);
  border-radius: 15px;
  overflow: visible;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: scale(1.16);
}

.hero-image img {
  transform: scale(1.15) translateX(-50px);
  transform-origin: center bottom;
  width: 100%;
  min-height: 300px;
  max-height: 900px;
  border-radius: 15px;
}

/* Brands -------------------------------------------------------------------------------------------------------*/
.brands-container {
  background-color: black;
  padding: 0.3rem 0.3rem;
  min-height: auto;
  overflow: hidden;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  direction: ltr;
}
.ticker_track {
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  will-change: transform;
  animation: brand 20s linear infinite;
}

.ticker_track img {
  width: clamp(70px, 12vw, 120px);
  height: 40px;
  margin: 0 4rem;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(1) drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

#dolce {
  width: clamp(100px, 15vw, 180px) !important;
  height: auto;
}
#coach {
  width: clamp(130px, 20vw, 170px) !important;
  height: auto;
}
#chanel{
width: clamp(1px, 14vw, 100px) !important;
  height: auto;

}
@keyframes brand {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Products & Top Selling sections -------------------------------------------------------------------------------*/

.products-section,
.top-selling-section {
  padding: 60px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  background: #ffffffbd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-card .card-image {
  flex-shrink: 0; 
  height: 70%;
  overflow: hidden;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card .card-body {
  background-color: rgba(255, 255, 255, 0.151);
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}

.product-card .card-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.product-card .card-body p {
  margin: 6px 0;
  color: #666;
  font-weight: 600;
}

.product-card .card-body button {
  margin-top: auto;
  padding: 10px 16px;
  border: none;
  background: #000;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.product-card .card-body button:hover {
  background: #333;
}
.view-all-container {
  display: flex;           
  justify-content: center; 
  margin-top: 20px;       
}
.view-all-container .btn {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  width: 30%;
}



/* browse -------------------------------------------------------------------------------------------------------*/

.browse {
  background: #c1a283;
  padding: 50px 40px;
  border-radius: 24px;
  max-width: 1200px;
  width: 90%;
  margin: 40px auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.browse-title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
  color: #222;
}

.browse-grid {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.browse-row-1 {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5px;
}

.browse-row-2 {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 5px;
}

.browse-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.browse-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.browse-card:hover img {
  transform: scale(1.08);
}

.browse-card-label {
  position: absolute;
  bottom: 220px;
  left: 5px;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0);
  padding: 10px 18px;
  border-radius: 10px;
  color: #000000;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
}


/* Newsletter---------------------------------------------------------------------------------------------- */
.newsletter {
  background: #000;
  color: #fff;
  border-radius: 1.25rem;
  margin: 2rem auto;
  max-width: 1200px;
  width: calc(100% - 2rem);
}

@media (min-width: 576px) {
  .newsletter {
    width: calc(100% - 3rem);
  }
}

.newsletter-form .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
}

/* Footer --------------------------------------------------------------------------------------------------------*/
.footer {
  background: #ffffffc6;
  padding: 20px 20px;
  width: 100%;
  
}

.footer-col h4,
.footer-col h6 {
  margin-bottom: 10px;
}

.footer-col a {
  display: block;
  margin: 5px 0;
  color: #555;
  text-decoration: none;
}

.footer-col a:hover {
  color: #000;
}

.logo {
  font-weight: bold;
}

.socials a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  color: #502913 !important;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
}


/* All products page ------------------------------------------------------------------------------------------------------*/
.filters {
 background: #e0d80000;
 border-radius: 12px;
 margin-top: 21%;
 height: auto;
 width: 100%;
}

.card {
  border-radius: 15px;
  overflow: hidden;
}

.card img {
  height: 200px;
  object-fit: cover;
}
.color-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
}

.color-circle.active {
  border: 2px solid #000;
  transform: scale(1.1);
}

#priceValue {
  display: inline-block;
  margin-top: 1px;
  font-weight: bold;
  margin-left: 18rem;
  
}


#priceFilter::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: #502913; 
  border-radius: 50%;
  cursor: pointer;
 
}


.pagination-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination-container button {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 5px;
}

.pagination-container button.active {
  background: #000;
  color: #fff;
}

.pagination-container button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Product Details Page ----------------------------------------------------------------------------------------*/
.product-details-section {
  min-height: 60vh;
  padding: 2rem 0;
}

.product-images .main-image-wrapper {
  background: #fff;
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

.product-images .main-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnails .thumbnail {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.thumbnails .thumbnail:hover,
.thumbnails .thumbnail.active {
  border-color: #502913;
}

#priceFilter {
  width: 100%;
  accent-color: #502913; 
  cursor: pointer;
}
#priceFilter:focus {
  outline: none;
  box-shadow: none;
}
#priceValue {
  display: inline-block;
  margin-top: 6px;
  font-weight: bold;
  color: #502913;
  margin-left: 0;
}
.product-info .product-name {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}



.product-info .product-desc {
  color: #555;
  line-height: 1.6;
}

.product-info .meta-label {
  font-weight: 600;
  color: #333;
}

.product-colors .color-dot {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ddd;
}

.quantity-control {
  max-width: 140px;
}

.quantity-control .qty-btn {
  background: #f5f5f5;
  border: none;
  font-size: 1.2rem;
  padding: 0.25rem 0.75rem;
}

.quantity-control .qty-btn:hover {
  background: #eee;
}

.quantity-control input {
  max-width: 50px;
}
/*    cart tab---------------------------------------------------------------------------------*/
.cart-tab {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(100%, 420px);
  max-width: 100vw;
  height: 100%;
  background-color: rgba(250, 244, 237, 0.98);
  transition: right 0.3s ease;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

@media (min-width: 576px) {
  .cart-tab {
    right: -500px;
    width: min(500px, 100vw);
  }
}

.cart-tab .cart-item {
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}
.cart-tab.active {
  right: 0;
}
/* ===============================================cart=======================================================*/
.cart-section{
    margin: auto;
    padding: 4rem;
    width: 90%;
    
    border: transparent;
}
.cart{
  background-color: #ffffffc6;
    padding: 4vh 5vh;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
}

.summary {
  padding: 30px;
  background: #f1f3f5;
}

/* Title */
.title .row {
  margin-bottom: 20px;
}

/* Cart Item */
.cart .row.border-top,
.cart .row.border-bottom {
  padding: 20px 0;
}

.main {
  display: flex;
  align-items: center;
}

/* Image */
.main img {
  width: 100%;
  border-radius: 8px;
}

/* Product Info */
.main .col {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}


.main .col  .border {
  font-weight: bold;
   border: none !important;
   color: #502913;
}

/* Price & Remove */
.close {
  font-size: 10px;
  margin-left: 20px ;
  margin-top: 8px;
  color: #dc3545;
} 
.qty-controls a {
  text-decoration: none;      
  color: #000;               
  font-size: 18px;
  padding: 5px 10px;
  display: inline-block;
  
}


/* Summary */
.summary h5 {
  margin-bottom: 20px;
}

.summary select,
.summary input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Totals */
.summary .row {
  margin-bottom: 10px;
}

.summary .text-right {
  text-align: right;
}

/* Button */
.summary .btn {
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border-radius: 5px;
  border: none;
  transition: 0.3s;
}

.summary .btn:hover {
  background: #333;
}

/* Back to shop */
.back-to-shop {
  margin-top: 20px;
}

.back-to-shop a {
  text-decoration: none;
  font-size: 18px;
  margin-right: 5px;
}

