* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Manrope", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   🔥 SKELETON SYSTEM
========================= */

.skeleton {

  position: relative;

  overflow: hidden;

  background: #e5e7eb;
}

.skeleton::before {

  content: "";

  position: absolute;

  inset: 0;

  transform: translateX(-100%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.5),
      transparent
    );

  animation:
    shimmer 1.4s infinite;
}

@keyframes shimmer {

  100% {

    transform: translateX(100%);

  }

}

/* =========================
   🔥 HERO SKELETON
========================= */

.hero-skeleton {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  background: #d1d5db;

  z-index: 2;
}

.hero-skeleton-overlay {

  position: absolute;

  top: 50%;

  left: 80px;

  transform: translateY(-50%);

  width: 500px;

  max-width: calc(100% - 40px);
}

.skeleton-title {

  width: 80%;

  height: 42px;

  margin-bottom: 18px;

  border-radius: 6px;
}

.skeleton-text {

  width: 60%;

  height: 16px;

  margin-bottom: 28px;

  border-radius: 4px;
}

.skeleton-btn {

  width: 140px;

  height: 46px;

  border-radius: 4px;
}

/* =========================
   🔥 PRODUCT SKELETON
========================= */

.product-skeleton,
.featured-skeleton {

  position: relative;

  overflow: hidden;

  background: #f3f4f6;

  border-radius: 6px;

  min-height: 420px;
}

.product-skeleton::before,
.featured-skeleton::before {

  content: "";

  position: absolute;

  inset: 0;

  transform: translateX(-100%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.5),
      transparent
    );

  animation:
    shimmer 1.4s infinite;
}

/* IMAGE */
.product-skeleton::after,
.featured-skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: #e5e7eb;
}

/* =========================
   🔥 MOBILE
========================= */

@media (max-width: 768px) {
  .hero-skeleton-overlay {
    left: 20px;
    width: calc(100% - 40px);

  }

  .skeleton-title {
    height: 34px;
    width: 90%;
  }

}


#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* show */
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* types */
.toast.success { background: #2ecc71; }
.toast.error { background: #e74c3c; }
.toast.warning { background: #f39c12; }
.toast.info { background: #333; }

.out-stock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: crimson;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 30px;
  z-index: 10;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55);
  z-index: 5;
}

.disabled-product {
  pointer-events: none;
  opacity: 0.8;
}

.disabled-color {
  opacity: 0.35;
  filter: grayscale(100%);
  cursor: not-allowed;
  position: relative;
}

.disabled-color::after {
  content: "";
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

nav {
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

body.loaded nav {
    opacity: 1;
    visibility: visible;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5%;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
}

.navList {
    list-style: none;
    display: flex;
    gap: 50px;
    margin-left: 80px;
}

.navList li {
    position: relative;
    cursor: pointer;
}

.navList li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
    font-family: "Azeret Mono", monospace;
}

.navList > li > a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #007DB8;
    transition: width .3s;
}

.navList > li:hover > a::after {
    width: 100%;
}

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    background: #333;
    padding: 10px;
    min-width: 150px;
    z-index: 10;
    transition: all 0.3s ease;
}

.dropdown-menu li {
    padding: 8px;     
    color: white;
    list-style: none;
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    padding-bottom: 10px;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 100;
}

/* SHOW OVERLAY */
.menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.search-cart-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-cart-container img {
    width: 30px;
}

.cart {
    position: relative;
    padding-right: 10px;
    display: flex;
    gap: 15px;
    align-items: center;    
}
.cart-number {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    position: absolute;
    right: 5px;
    top: -10px;
    background-color: #007DB8;
    border-radius: 50%;
    color: #FFF;
}

.cart img {
    width: 35px;
}

.menu-toggle,
.closeMenu {
    display: none !important;
}

/* =========================
   🔥 NAVBAR SKELETON
========================= */

.nav-skeleton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    min-height: 56px;
    background: #fff;
    position: relative;
    z-index: 999;
}

/* LEFT */
.nav-left {

    display: flex;

    align-items: center;

    gap: 60px;
}

/* LINKS */
.nav-links {

    display: flex;

    gap: 40px;
}

/* RIGHT */
.nav-right {

    display: flex;

    gap: 20px;

    align-items: center;
}

/* BASE */
.skeleton {

    position: relative;

    overflow: hidden;

    background: #e5e7eb;

    border-radius: 6px;
}

/* SHIMMER */
.skeleton::before {

    content: "";

    position: absolute;

    inset: 0;

    transform: translateX(-100%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.6),
            transparent
        );

    animation:
        navShimmer 1.4s infinite;
}

@keyframes navShimmer {

    100% {

        transform: translateX(100%);

    }

}

/* LOGO */
.skeleton-logo {

    width: 50px;

    height: 50px;

    border-radius: 50%;
}

/* LINK */
.skeleton-link {

    width: 90px;

    height: 14px;
}

/* ICON */
.skeleton-icon {

    width: 32px;

    height: 32px;

    border-radius: 50%;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-links {

        display: none;
    }

}

/************************This is the Sidebar ***************************/

.search-sidebar {
    position: fixed;
    top: 0;
    left: -600px;
    width: 600px;
    height: 100vh;
    overflow-y: auto;
    background-color: #FFF;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 20px;
}

.search-sidebar.active {
    left: 0;
}

.sidebar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding : 6px 24px;
    justify-content: space-between;
}

.sidebar a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: 500;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-container .search-icon {
    position: absolute;
    left: 10px;
    color: rgb(136, 136, 136);
    pointer-events: none;
    font-size: 16px;
    cursor: pointer;
}

#searchInput {
  padding: 12px 32px 12px 44px;
  font-size: 16px;
  border: none;
  width: 100%;
  font-weight: 300;
  background: #EFEFEF;
}

.open-search,
.close-search {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.search-results-popup {
  list-style: none;
  padding: 0;
}

.search-item {
  display: flex;
  gap: 10px;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.search-item img {
  width: 50px;
  height: 60px;
  object-fit: cover;
  object-position: top;
}

.search-info p {
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
    font-size: 14px;
    font-weight: 500;
}

.search-info span {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

.search-item:hover {
  background: #f5f5f5;
}

.no-results {
  padding: 15px;
  text-align: center;
  color: #777;
}

.suggested-container {
    margin: 6px 24px;
}

.suggested-container h3 {
    font-family: "Barlow Condensed", sans-serif;    
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
}

.suggested-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.quick-add-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
    display: none;
    width: 35px;
    border-radius: 50px;
}

.quick-add button {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
}

.quick-add button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-card:hover .quick-add {
    display: block;
}

.quick-add-icon img {
    border: none;
    width: 100%;
}

.product-name {
    font-size: 14px;
    margin: 10px 0 0;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
    font-weight: 600;
}

.product-color-name {
    text-transform: capitalize;
    font-size: 13px;
    font-family: "Manrope", sans-serif;
    font-weight: 500;
}

.urgency-text {
    display: block;
    font-size: 12px;
    color: #d62828;
    font-weight: 500;
    font-family: "Manrope", sans-serif;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 0 20px;
}

.product-price {
    font-size: 12px;
    font-family: "Manrope", sans-serif;
    display: flex;
    justify-content: space-between;
}

.product-card--default {
    width: 100%;
}

.product-card--medium {
    width: 100%;
}

.product-card--small {
    width: 100%;
}

.suggested-pro-card h4 {
    font-size: 12px;
    margin-bottom: 5px;
}

.pro-details {
    padding: 0 16px;
}

.quick-add {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background-color: #000;
    border: none;
    cursor: pointer;
    font-size: 14px;
    width: 95%;
    text-align: center;
    display: none;
}  

.product-card--small .quick-add  {
    padding: 5px 12px;
}

.product-card--small .product-controls {
    width: 100%;
    padding: 4px 8px;
}

.quick-add-sidebar {
    position: fixed;
    top: 0;
    left: -600px;
    width: 600px;
    height: 100dvh;
    overflow-y: auto;
    background-color: #FFF;
    flex-direction: column;
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.open-quick-add {
    background-color: transparent;
    cursor: pointer;
    border: none;
}

.quick-add-sidebar.active {
    left: 0;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.quick-add-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
}

.quick-add-header h3 {
    font-family: "Barlow Condensed", sans-serif;    
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.close-quick-add {
    background: transparent;
    border: none;
}

.close-quick-add img {
    width: 30px;
    cursor: pointer;
}

.quick-add-products{
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-add-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.quick-add-image .product-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dots-container {
    display: flex;
    gap: 8px;
} 

.dots-container .dot {
    width: 8px;
    height: 8px;
    background-color: #007DB8;
    border-radius: 50%;
    cursor: pointer;
}

.quick-add-details {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quick-add-details h1 {
    font-size: 20px;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
}

.quick-add-details p {
    font-size: 14px;
    font-weight: 600;
}

.size-buttons {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
}

.size-buttons button {
    padding: 10px 28px;
    border: 1px solid #E0E0E0;
    background-color: #d4d4d4;
    color: #000;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.size-buttons button.active {
    background-color: #000;
    color: #FFF;
    border: none;
}

.add-to-cart {
    background-color: #000;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.add-to-cart button {
    color: #FFF;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
    border: none;
    padding: 12px 0;
    width: 100%;
    font-family: "Azeret Mono", monospace; 
    text-transform: uppercase;

}

/************************This is the Filter Sidebar ***************************/

.filter-sidebar {
    position: fixed;
    top: 0;
    left: -520px;
    width: 500px;
    height: 100vh;
    overflow-y: auto;
    background-color: #FFF;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: left 0.3s ease;
}

.filter-sidebar.active {
    left: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding : 16px 24px;
}

.filter-header h3 {
    font-family: "Barlow Condensed", sans-serif;    
    font-size: 18px;
    font-weight: 600;
}

.open-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    color: #000;
}

.open-filter img,
.close-filter  {
    width: 20px;
    background: transparent;
    border: none;
}

.filter-header img {
    width: 30px;
    cursor: pointer;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 24px 30px;
}

.filter-options i {
    font-size: 20px;
    padding: 5px;
    cursor: pointer;
}

.sortby-head,
.gender-head,
.size-head {
    font-family: "Azeret Mono", monospace;  
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top : 10px;
}

.sortby-options,
.gender-options,
.size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filter-category-sort a {
    text-decoration: none;
    color: #000;
    background-color: #EFEFEF;
    font-size: 12px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Azeret Mono", monospace;
    padding: 12px 16px;
}

.filter-category-sort a:hover,
.filter-category-gender a:hover,
.filter-category-size a:hover {
    background-color: #000;
    color: #FFF;
}

.filter-category-gender a,
.filter-category-size a {
    text-decoration: none;
    color: #000;
    background-color: #EFEFEF;
    font-size: 12px;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Azeret Mono", monospace;
    padding: 9px 16px;
}

/* hide options when collapsed */
.filter-category-sort.collapsed .sortby-options,
.filter-category-gender.collapsed .gender-options,
.filter-category-size.collapsed .size-options {
    display: none;
}

.filter-options i {
    transition: transform 0.3s ease;
}

/* rotate when closed */
.filter-category-sort.collapsed i,
.filter-category-gender.collapsed i,
.filter-category-size.collapsed i {
    transform: rotate(180deg);
}

.filter-options a.active {
  color: #fff;
  font-weight: 600;
  background-color: #000;
}


/************************This is End of Sidebar ***************************/

/************************This is the Main ***************************/

header {
    padding: 0 0 20px;
}

.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    max-width: 500px;
    color: #fff;
    z-index: 2;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2); 
    z-index: 1;
}

.hero-content h1 {
    font-family: "Barlow Condensed", sans-serif;    
    font-size: 34px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    margin-bottom: 30px;
    font-family: "Azeret Mono", monospace;
}

.hero-content a {
    text-decoration: none;
    color: #FFF;
    background-color: #000;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
}

.hero-content h1,
.hero-content p,
.hero-content a {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Animate when slide is active */
.slide.active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.slide.active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.slide.active .hero-content a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    z-index: 5;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: #fff;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

main {
    padding: 20px 5%;
}

.new-collection {
    margin: 80px 5%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

.section-header a {
    font-size: 14px;
    text-decoration: none;
    color: #000;
}

.new-collection-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    background: #fff;
}

.featured-products {
    margin: 60px 5%;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.featured-header h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

.featured-controls button {
    padding: 8px 12px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}

/* SCROLL SYSTEM */
.featured-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.featured-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    will-change: transform;
    scroll-behavior: smooth;
}

/* CARD */
.featured-card {
    flex: 0 0 calc(25% - 15px);
    position: relative;
}

.featured-card img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .featured-card {
        flex: 0 0 80%;
    }
}

.featured-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/************************This is the product container ***************************/

.products h1 {
    font-family: "Barlow Condensed", sans-serif;    
    font-size: 34px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 30px 0;
}

hr {
    border: none;
    border-top: 1px solid #E0E0E0;
}

.cat-fil-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    overflow-x: auto;
}

.cat-fil-container ul {
    display: flex;
    gap: 20px;
    list-style: none;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;
    flex-wrap: nowrap;

    width: max-content;
    max-width: 100%;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar */
.cat-fil-container ul::-webkit-scrollbar {
    display: none;
}

.cat-fil-container ul li {
    flex-shrink: 0;
}

.cat-fil-container ul li a {
    text-decoration: none;
    color: black;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
    padding: 5px 8px;
}

.cat-fil-container ul li a.active {
    background-color: #000;
    color: #FFF;
}

.cat-fil-container ul li a:hover {
    background-color: #000;
    color: #FFF;
}

.cat-fil-container .filter a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
}

.cat-fil-container .filter a img {
    width: 16px;
}

.empty-state {
  text-align: center;
  padding: 40px;
  font-size: 16px;
  color: #777;
}

.products-wrapper {
  position: relative;
}

/* base state */
.empty-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10;
  font-size: 16px;
  color: #555;
  /* 🔥 animation setup */
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;

  transition: 
    opacity 0.35s ease,
    transform 0.35s ease;
}

/* 🔥 visible state */
.empty-overlay.show {
  opacity: 1;
  transform: scale(1);
}

.empty-overlay p {
  transform: translateY(10px);
  opacity: 0;
  transition: 0.3s ease;
}

.empty-overlay.show p {
  transform: translateY(0);
  opacity: 1;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 60px 10px;
    gap: 10px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: crimson;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 30px;
  z-index: 10;
}


.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
}

.product-media {
    position: relative;
    overflow: hidden;
}

.product-media a img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 0.5px solid #E0E0E0;
}

.product-slider {
    display: flex;
    transition: transform 0.4s ease; 
    width: 100%;
}

.product-slider img {
    width: 100%;
    flex-shrink: 0;
    object-fit: contain;
}

.product-slider img.active {
    display: block;
}

.product-link {
    display: block;
}

.product-controls {
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 0 9px;
}

.product-controls.featured {
    top: 75%;
}

.product-card--small .product-controls{
    top: 68%;
}

.product-card--small .product-controls button {
    padding: 4px 8px;
}

.product-controls button {
    padding: 8px 12px;
    border: none;
    background-color: #000;
    color: #FFF;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.product-card:hover .product-controls button {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   🔥 PAGINATION
========================= */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 60px 0;
}

.pagination button {
    width: 42px;
    height: 42px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.pagination button:hover {
    background: #000;
    color: #fff;
}

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

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/************************This is the product page ***************************/

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: 40px;
}

.breadcrumb a {
    text-decoration: none;
    color: #007DB8;
}

.product-page-container {
    display: flex;
    gap: 40px;
    margin: 60px 10px;
}

.product-page-image {
    width: 50%;
    height: 700px;
    position: relative;
    overflow: hidden;
}

.product-page-slider {
    height: 100%;
    display: flex;
    transition: transform 0.4s ease;
}


.product-page-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    flex: 0 0 100%;
}

.slider-ui {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 6px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background: #000;
    width: 18px;
    border-radius: 4px;
}

.slider-ui button {
    border: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: #000;
}

.controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 10px;
    padding: 8px 44px;
    position: absolute;
    background-color: #FFF;
}
.controls img {
    width: 20px;
    cursor: pointer;
}

.controls div {
    display: flex;
    gap: 8px;
}
.product-page-details {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 56px 95px;
}
.product-page-details h1 {
    font-size: 28px;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
}
.product-page-details p {
    font-size: 14px;
    font-weight: 600;
}
.product-page-details .size-buttons {
    display: flex;
    gap: 2px;
}
.product-page-details .size-buttons button {
    padding: 10px 28px;
    border: 1px solid #E0E0E0;
    background-color: #d4d4d4;
    color: #000;
    cursor: pointer;
    font-size: 14px; 
}

.product-size-options {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.size-buttons button.active {
    background-color: #000;
    color: #FFF;
    border: none;
}

.size-buttons button:hover {
    background-color: #000;
    color: #FFF;
    border: none;
}

.size-buttons button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.color h3 {
    font-family: "Azeret Mono", monospace;  
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.color-options {
    display: flex;
    gap: 10px;
    width: 60px;
    height: 60px;
}

.color-options img {
    border: 2px solid transparent;
    cursor: pointer;
    object-fit: contain;
    object-position: top;
}

.color-options img.active {
    border: 2px solid #000;
}

.product-size-options h3 {
    font-family: "Azeret Mono", monospace;  
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quantity-btn h3 {
    font-family: "Azeret Mono", monospace;  
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    border: 0.5px solid #E0E0E0;
    width: 100px;
    justify-content: center;
    background: #fff;
    padding: 8px 14px;
    border-radius: 6px;
}

.quantity-controls button {
    background-color: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #000;
}

.you-may-like {
    margin: 100px 5%;
}

.you-may-like h2 {
    font-family: "Barlow Condensed", sans-serif;    
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
} 

.you-may-like-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =========================
   🔥 PRODUCT PAGE SKELETON
========================= */

.product-page-skeleton {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 40px;
  background: #fff;
  z-index: 10;
  padding: 0 10px;
}

/* IMAGE */
.product-image-skeleton {
  width: 50%;
  height: 700px;
  border-radius: 6px;
  background: #e5e7eb;
}

/* DETAILS */
.product-details-skeleton {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 56px 95px;
}

/* BASE */
.skeleton {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 6px;
}

.skeleton::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.5),
      transparent
    );

  animation:
    shimmer 1.4s infinite;
}

/* TITLE */
.skeleton-title {
  width: 70%;
  height: 42px;
}

/* PRICE */
.skeleton-price {
  width: 120px;
  height: 18px;
}

/* LABEL */
.skeleton-label {
  width: 100px;
  height: 16px;
  margin-bottom: 14px;
}

/* COLORS */
.skeleton-colors {
  display: flex;
  gap: 10px;
}

.skeleton-color {
  width: 60px;
  height: 60px;
}

/* SIZES */
.skeleton-sizes {
  display: flex;
  gap: 10px;
}

.skeleton-size {
  width: 70px;
  height: 42px;
}

/* QUANTITY */
.skeleton-qty {
  width: 120px;
  height: 50px;
}

/* BUTTON */
.skeleton-button {
  width: 100%;
  height: 54px;
}

/* ANIMATION */
@keyframes shimmer {

  100% {
    transform: translateX(100%);
  }

}

/* MOBILE */
@media (max-width: 768px) {

  .product-page-skeleton {

    flex-direction: column;

    gap: 20px;

    padding: 0;

    position: relative;
  }

  .product-image-skeleton {

    width: 100%;

    height: 450px;

    min-height: 450px;

    border-radius: 0;
  }

  .product-details-skeleton {

    width: 100%;

    padding: 20px 16px 40px;
  }

}

.product-page-image,
.product-page-details {
  opacity: 0;
  visibility: hidden;
}

.product-loaded .product-page-image,
.product-loaded .product-page-details {
  opacity: 1;
  visibility: visible;
  transition: 0.4s ease;
}


/************************This is the About section ***************************/

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
     margin-bottom: 20px;
}

.about-header h1 {
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
    text-align: center;
    padding: 20px 0;
    font-size: 40px;
    
}

.about-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about-link a {
    text-decoration: none;
    padding: 15px 24px;
    background-color: #333;
    color: white;
    border-radius: 20px;
    font-family: "Azeret Mono", monospace;
    align-items: center;
}

.about-image {
    width: 300px;
}

.about-image img {
    width: 100%;
}

.about-us {
    display: flex;
    flex-direction: column;
    max-width: 400px;
}

.about-us h1 {
    font-size: 80px;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
}

.about-us p {
    font-family: "Azeret Mono", monospace;
}
/************************This is the cart section ***************************/

.cart-section {
    padding: 20px 5%;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-family: "Barlow Condensed", sans-serif;    
    font-size: 64px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 30px 0;
}

.cart-header a {
    text-decoration: none;
    color: #007DB8;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.cart-items {
    display: flex;
    gap: 20px;
    background-color: #EFEFEF;
    padding: 30px 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cart-details {
    display: flex;
    gap: 15px;
}

.cart-image {
    width: 80px;
    height: 120px;
}

.cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border: 0.5px solid #E0E0E0;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px;
}

.cart-item-info p {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    margin: 10px 0 0;
}

.cart-item-info h4 {
    font-size: 12px;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px 10px;
    justify-content: center;
}

.cart-controls button {
    background-color: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500px;
    font-family: "Azeret Mono", monospace;
    text-transform: uppercase;
    cursor: pointer;
}   

.remove-item {
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.remove-item a {
    color: #000;
    text-decoration: none;
}

.cart-total {
    margin: 10px 20px 20px;
    font-weight: 500px;
    font-family: "Azeret Mono", monospace;
}

.checkout-btn {
    margin: 0 20px 0;
    font-weight: 500px;
    font-family: "Azeret Mono", monospace;
    background-color: #000;
    color: #FFF;
    text-decoration: none;
    padding: 10px 20px;
}

.checkout-btn.disabled {
    opacity: .5;
    pointer-events: none;
}

.empty-checkout {
    padding: 40px 0;
    text-align: center;
}

.variant {
    font-size: 14px;
    opacity: .7;
}

.cart-container p {
    margin: 10px 0 20px;
    font-family: "Azeret Mono", monospace;
}

.cart-message-link {
    color: #000;
    font-family: "Azeret Mono", monospace;
    margin-left: 10px;
}

/* =========================
   🔥 CART SKELETON
========================= */

.cart-skeleton {

  position: relative;

  overflow: hidden;

  display: flex;

  gap: 20px;

  align-items: center;

  background: #f3f4f6;

  padding: 30px 20px;

  margin-bottom: 20px;

  min-height: 180px;
}

/* SHIMMER */
.cart-skeleton::before {

  content: "";

  position: absolute;

  inset: 0;

  transform: translateX(-100%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,0.6),
      transparent
    );

  animation:
    skeleton-loading 1.4s infinite;
}

/* IMAGE */
.cart-skeleton::after {

  content: "";

  width: 80px;

  height: 120px;

  background: #e5e7eb;

  position: absolute;

  left: 20px;

  top: 30px;
}

/* ANIMATION */
@keyframes skeleton-loading {

  100% {

    transform: translateX(100%);

  }

}

/************************This is the Footer section ***************************/

footer {
    background-color: #333;
    color: #FFF;
    padding: 40px 5%;
    align-items: center;
    flex-wrap: wrap;
}

.socialsnlogo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.socialsnlogo img {
    width: 60px;
}

.socials a {
    text-decoration: none;
    color: #FFF;
    font-size: 20px;
    font-weight: 400;
}

.socials i {
    font-size: 25px;
    padding: 5px;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
}

.year {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: "Azeret Mono", monospace;
}



/*-----------------------success message-----------------------*/

.success-container {

  width: 100%;

  display: flex;

  align-items: center;

  justify-content: center;
}

.success-card {

  width: 100%;
  max-width: 460px;

  background: white;

  padding: 50px 35px;

  border-radius: 24px;

  text-align: center;

  box-shadow:
    0 15px 50px rgba(0,0,0,0.08);
}

.success-icon {

  width: 90px;
  height: 90px;

  margin: 0 auto 24px;

  border-radius: 50%;

  background: #22c55e;

  color: white;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 42px;

  font-weight: bold;
}

.success-card h1 {

  font-size: 32px;

  color: #111827;

  margin-bottom: 14px;
}

.success-text {

  color: #4b5563;

  font-size: 16px;

  margin-bottom: 10px;

  line-height: 1.6;
}

.email-text {

  color: #6b7280;

  font-size: 15px;

  margin-bottom: 32px;

  line-height: 1.6;
}

.continue-btn {

  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  height: 54px;

  background: #111827;

  color: white;

  text-decoration: none;

  border-radius: 14px;

  font-weight: 600;

  transition: 0.3s ease;
}

.continue-btn:hover {

  background: #000;
}

@media (max-width: 500px) {

  .success-card {

    padding: 40px 24px;
  }

  .success-card h1 {

    font-size: 26px;
  }

}


@media only screen and (max-width :1100px) {
    .product-page-details {
        padding: 56px 55px;
    }
}




@media only screen and (max-width :1000px) {
    .cat-fil-container {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .product-page-details {
        padding: 56px 35px;
    }
}


@media only screen and (max-width :950px) {
    .new-collection-container,
    .products-container,
    .you-may-like-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-add-icon {
        display: block;
    }

    .product-card:hover .quick-add {
        display: none;
    }

    .product-controls {
        display: none;
    }
    
}

@media only screen and (max-width : 800px) {
    .product-page-container {
        gap: 0;
    }

    .about-summary {
        flex-direction: column;
        gap: 30px;
        margin-top: 30px;
        padding: 0 30px;
    }

    .about-image {
        width: 300px;
    }

    .about-us {
        display: flex;
        flex-direction: column;
        max-width: 400px;
    }

    .about-us h1 {
        font-size: 40px;
    }
}


@media only screen and (max-width :740px) {
    .product-page-container {
        flex-direction: column;
        align-items: center;
    }

    .product-page-details {
        width: 100%;
    }

    .product-page-image {
        width: 100%;
    }
}



/* MOBILE NAV */
@media only screen and (max-width : 768px) {

    nav {
        padding: 10px 5%;
    }

    .navList {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 30px 25px;
        margin-left: 0;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .navList.show {
        left: 0;
        opacity: 1;
    }

    .menu-toggle {
        display: block !important;
        font-size: 24px;
        cursor: pointer;
        z-index: 999;
    }

    .closeMenu {
        display: block !important;
        font-size: 24px;
        align-self: flex-end;
        cursor: pointer;
    }

    .navList li a {
        font-size: 16px;
    }

    /* MOBILE DROPDOWN */
    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: transparent;
        padding: 10px 0 0 15px;
        box-shadow: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        padding: 8px 0;
    }

    .dropdown-menu li a {
        color: #000;
        font-size: 14px;
    }

    .search-cart-container {
        gap: 15px;
    }

    .search-cart-container img {
        width: 25px;
    }

    .cart img {
        width: 30px;
    }
}

@media only screen and (max-width : 600px) {
    .new-collection-container,
    .products-container,
    .you-may-like-container,
    .suggested-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-sidebar,
    .quick-add-sidebar,
    .filter-sidebar {
        left: -450px;
        width: 450px;
        padding: 15px;
    }

    .slide img {
        object-position: 75%;
    }

    .hero-content {
        left: 40px;
    }

    .new-collection {
        margin-top: 30px;
    }

}

@media only screen and  (max-width : 590px) {
    .cart-controls {
        flex-direction: column;
        gap: 10px;
    }

    .cart-header h2 {
        font-family: "Barlow Condensed", sans-serif;    
        font-size: 25px;
    }

    .cart-header a {
        font-size: 12px;
    }
}

@media only screen and (max-width : 500px) {

    .sidebar {
        padding: 6px 18px;
    }

    #searchinput {
        padding: 10px 32px 10px 44px;
    }

    .hero-content {
        left: 25px;
        max-width: 350px;
    }
    .product-page-image {
        height: 500px;
    }

    .search-sidebar,
    .quick-add-sidebar,
    .filter-sidebar {
        left: -360px;
        width: 360px;
        padding: 15px;
    }

    .product-price {
        flex-direction: column;
    }

    .product-name {
        font-size: 12px;
        font-weight: 600;
    }

    .product-details {
        gap: 5px;
    }

    .you-may-like {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .product-page-details .size-buttons button,
    .size-buttons button {
        padding: 8px 20px;
        font-size: 12px;
        font-weight: 600;
    }

    .suggested-container {
        margin: 0;
    }
}

@media only screen and  (max-width : 473px) {
    .cart-item-info,
    .cart-controls {
        padding: 0;
    }

    .cart-items {
        gap: 10px;
    }
}

@media only screen and  (max-width : 415px) {
    .cart-items {
        gap: 0;
        padding: 20px 15px;
    }
}