@import url('https://fonts.googleapis.com/css2?family=Inter:wght@600;700&display=swap');
*{
    margin: 0;
    padding: 0;
}
/* @import "product.css"; */


.product-H-h1 {
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #333;
    font-family: sans-serif;
}


body{
    min-height: 100vh;
    background-image: url(img3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'serif;'
}

/*navigation bar 1 contact us*/
.nav-1{
    background:linear-gradient(60deg, #f4a9a5, #e680d8);
    top: 0%;
    position: fixed;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    }
.nav-1-ul{
    width: 100%;
    list-style: none;
    display: block;
    overflow: hidden;
    align-items: flex-start;
    
}
.nav-1-a{
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: sans-serif;
}
.nav-1-a:hover{
    background: linear-gradient(60deg, #e68e89, #e367d3);;
}
/* sup text css */
.head-text {
    font-size: 50px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
      color: #110f09;
}
nav{
    background-color: white;
    position: fixed;
    overflow: hidden;
    width: 100%;
    top: 60px; 
    z-index: 2;
    height: 100px;
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li{
    height: 50px;
}
nav a{
    height: 100%;
    padding: 0 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}
nav a:hover{
    background-color: #f0f0f0;  
}
nav li:first-child{
    margin-right:auto ;
}
.font-menu{
    font-size: 24;

}
.sidebar{
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    transition: 0.7s ease-out;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    
}

.sidebar li{
    width: 100%;
    border-bottom: 1px solid #ccc;
    font-size: 20px;
    text-align: center;
    padding: 10px 0;
    font-family: sans-serif;
}
.sidebar a{
    width: 100%;
}
.menu-button{
    display: none;
}

/* searchbar */
.search_container{
    display: flex;
    align-items: center;
    width: 100%;
    height: 70px; 
}
.search-input {
    flex: 1; /* Allow the input to grow */
    padding: 10px;
    border: 1px solid #090909;
    border-radius: 5px;
    font-size: 16px;
    width: 650px;
    height: 60px;
}
.search_container-2 {
    display: none;
    align-items: center;
    width: 98%;
    margin: 10px;
    
}
.search-input-2 {
    flex: 1; /* Allow the input to grow */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px; /* Rounded corners on the left */
    font-size: 16px;
    width: 98%;
    display: none;
    margin: 10px;
}
/* navigation-3 add here */
/* navigation over */

/* this media quary is for navigation bar and sidebar */
@media(max-width: 800px){ 
    .hideonmobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
    
} 
@media(max-width: 480px){
     .sidebar{
        width: 100%;
     }
    .search_container-2 {
        display: flex;
    }
    .search-input-2 {
        display: flex; 
    }
    .under-header-space {
        display: none;
    }
    nav {
      margin-left: 10px;
    }
}
.under-header-space {
    margin-top: 155px;
    display: flex;
}

/* css for page url navigation bar */
:root {
    --primary-color: #ef8197;
    --primary-hover: #4338ca;
    --text-color: #374151;
    --separator-color: #1071e7;
    --bg-color: #f9fafb;
  }
.breadcrumb {
    background:linear-gradient(60deg, #ebd3d3, #f9caf2, #e3d5f2, #f5b9ec, #e4b7f8);
    padding: 12px 20px;
    border-radius: 12px;   
    width: 100%;
    font-family: sans-serif;
    margin: 10px;
  }

  .breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }

  .breadcrumb li {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: color 0.25s ease;
  }

  .breadcrumb li a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .breadcrumb li:not(:last-child)::after {
    content: "›";
    color: var(--separator-color);
    margin: 0 14px;
    user-select: none;
    transition: color 0.3s ease;
  }

  /* Hover effect only on non-current items */
  .breadcrumb li:not(.current):hover,
  .breadcrumb li:not(.current) a:hover {
    color: var(--primary-color);
  }

  .breadcrumb li:not(.current):hover::after {
    color: var(--primary-color);
  }

  .breadcrumb li.current {
    color: var(--primary-color);
    cursor: default;
  }

  /* Small subtle scaling animation on hover */
  .breadcrumb li:not(.current):hover {
    transform: scale(1.05);
  }
  .breadcrumb li:not(.current) {
    transition: color 0.25s ease, transform 0.25s ease;
  }

  /* Responsive */
  @media (max-width: 480px) {
    .breadcrumb {
      padding: 10px 14px;
    }
    .breadcrumb li:not(:last-child)::after {
      margin: 0 8px;
    }
    .breadcrumb li {
      font-size: 0.9rem;
    }
  }

  .header-h1 {
    font-size: 38px; /* Adjust font size as needed */
    font-weight: bold; /* Optional: make the text bold */
    background-image: linear-gradient(to right, #e86868, #ef5ad6, #471d40); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* For non-webkit browsers */
    color: transparent; /* Make the text color transparent */
    margin: 10px;
    text-align: center;
  }
  .header-h2 {
    font-size: 28px; /* Adjust font size as needed */
    font-weight: bold; /* Optional: make the text bold */
    background-image: linear-gradient(to right, #e56565, #562c4f); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* For non-webkit browsers */
    color: transparent; /* Make the text color transparent */
    margin: 10px;
    text-align: center;
  }
  .header-p-h1 {
    font-size: 32px; /* Adjust font size as needed */
    font-weight: bold; /* Optional: make the text bold */
    background-image: linear-gradient(to right, #351515, #4a1041); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* For non-webkit browsers */
    color: transparent; /* Make the text color transparent */
    margin: 10px;
    text-align: center;
  }

/* slider img css */
.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    
}

.slide {
    min-width: 100%;
    transition: opacity 0.5s ease;
}

.slide img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.slider-button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
.slider-button:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* css for catagory slider */
.slider-C-C {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 10px;
    height: auto;
    margin-bottom: 20px;
}

.slider-C {
    display: flex;
    transition: transform 0.5s ease;
}

.card-C {
    min-width: 20%; /* 100% / 5 cards */
    box-sizing: border-box;
    background-color: white;
    
    border-radius: 15px;
    height: auto;

}
.C-container {
    font-size: 18px;
    font-family: sans-serif;
    height: 30px;
}

.button-C {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
}

.prev-C {
    left: 10px;
}

.next-C {
    right: 10px;
}

.header-product-h1 {
    font-size: 30px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #333;
    font-family: sans-serif;
}

/* Recommended product css - updated for horizontal scroll following default design guidelines */
.product-container {
    display: flex; /* flex instead of grid for horizontal scroll */
    overflow-x: auto; /* horizontal scroll enabled */
    gap: 1rem; /* spacing between cards */
    padding: 1rem 1.5rem; /* generous padding */
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #ffffff; /* light background */
    border-radius: 0.75rem; /* subtle rounded corners */
    scroll-snap-type: x mandatory; /* scroll snap */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    z-index: 0;
}

/* Hide scrollbar if you want cleaner look (optional) */
/* Uncomment below to hide scrollbar */
/*
.product-container::-webkit-scrollbar {
    display: none;
}
.product-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
*/

.product-card {
    flex: 0 0 auto;
    width: 280px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 400px;
    scroll-snap-align: start;
    border-radius: 0.75rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
}

.product-card:hover,
.product-card:focus-within {
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    transform: translateY(-6px);
    outline: none;
}

.product-card img {
    flex-shrink: 0;
    width: 100%;
    height: 224px; /* fixed height (about 56% of card height to balance layout) */
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    object-fit: cover;
}

.product-card h2 {
    font-size: 20px;
    font-family: "Inter", sans-serif; /* elegant modern font */
    color: #111827; /* dark primary text */
    padding-left: 10px;
    margin: 0.5rem 0 0 0;
    font-weight: 700;
}

.product-card h6 {
    text-decoration: line-through;
    color: #6b7280; /* neutral gray */
    font-family: "Inter", sans-serif;
    padding-left: 10px;
    margin: 0;
    font-weight: 500;
}

.product-card p {
    font-size: 14px;
    color: #6b7280; /* neutral gray */
    padding-left: 10px;
    font-family: "Inter", sans-serif;
    margin: 0.25rem 0 0 0;
    flex-grow: 1;
}

.add-cart-button {
    background: linear-gradient(60deg, #fad6d4, #f1bfea);
    padding: 10px 20px;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    display: grid;
    place-content: center;
    text-decoration: none;
    color: #111827;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    text-align: center;
    margin: 1rem 10px 10px 10px;
    transition: background-color 0.3s ease;
    user-select: none;
    flex-shrink: 0; /* prevent button from shrinking */
}

.add-cart-button:hover,
.add-cart-button:focus {
    background: linear-gradient(60deg, #f1bfea, #fad6d4);
    outline: none;
}

.product-card a {
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

.product-details {
    padding: 0 16px;
    flex-grow: 1; /* take remaining space between image and button */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
}

@media(max-width: 800px){ 
    .product-container {
        padding: 1rem;
    }
}

@media(max-width: 480px){
    .product-container {
        gap: 0.75rem;
        margin-left: 5px;
        margin-right: 5px;
    }
    .product-card {
        width: 220px;
        height: auto;
    }
    .product-details {
        text-align: center;
        height: auto;
    }
    .product-card:hover {
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        transform: translateY(-3px);
    }
    .header-h1 {
      font-size: 14px;
    }
}

/* latest collection css  */



    :root {
      --color-bg: #ffffff;
      --color-primary: #111827;
      --color-gray-500: #6b7280;
      --border-radius: 0.75rem;
      --spacing-lg: 4rem;
      --spacing-md: 2rem;
      --spacing-sm: 1rem;
      --card-width: 340px;
      --card-height: 460px; /* increased height for small photos */
      --small-card-size: 120px;
      --small-photo-size: 64px; /* size for the new small photos inside big card */
      --small-card-spacing: 0.75rem;
      --shadow-light: rgba(0,0,0,0.05);
      --shadow-hover: rgba(0,0,0,0.12);
    }

    /* Reset & base */


    main.container {
      max-width: 1200px;
      margin: 0 auto;
      padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
      display: flex;
      flex-direction: column;
      gap: var(--spacing-lg);
    }

    h1.section-title {
    font-size: 48px; /* Adjust font size as needed */
    font-weight: bold; /* Optional: make the text bold */
    font-family: 'Inter', sans-serif; /* Use a modern sans-serif font */
    background-image: linear-gradient(to right, #e86868, #471d40); /* Define your gradient colors */
    -webkit-background-clip: text; /* Clip the background to the text */
    background-clip: text; /* For non-webkit browsers */
    color: transparent; /* Make the text color transparent */
    margin: 10px;
    text-align: center;
    }

    /* Slider wrapper */
    .collection-slider {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    /* Horizontal scroll container */
    .slider-track {
      display: flex;
      gap: var(--spacing-md);
      overflow-x: auto;
      scroll-behavior: smooth;
      padding-bottom: 1rem;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }

    /* Scrollbar styling */
    .slider-track::-webkit-scrollbar {
      height: 8px;
    }
    .slider-track::-webkit-scrollbar-track {
      background: transparent;
    }
    .slider-track::-webkit-scrollbar-thumb {
      background-color: rgba(0,0,0,0.1);
      border-radius: 4px;
    }

    /* Collection card with background image */
    .collection-card {
      flex: 0 0 var(--card-width);
      height: var(--card-height);
      position: relative;
      border-radius: var(--border-radius);
      box-shadow: 0 8px 20px var(--shadow-light);
      overflow: hidden;
      scroll-snap-align: start;
      background-size: cover;
      background-position: center;
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: flex-end; /* content at bottom */
      padding: var(--spacing-md);
      cursor: pointer;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
      user-select: none;
      gap: var(--spacing-sm);
    }
    .collection-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
      border-radius: var(--border-radius);
      pointer-events: none;
      z-index: 0;
    }
    .collection-card:hover,
    .collection-card:focus-visible {
      box-shadow: 0 16px 40px var(--shadow-hover);
      transform: translateY(-8px);
      outline: none;
    }

    /* Overlay content container */
    .collection-content {
      position: relative;
      z-index: 1;
      display: flex;
      gap: var(--small-card-spacing);
      justify-content: center;
    }

    /* Small product cards container */
    .small-product-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--small-card-spacing);
      width: 100%;
    }

    /* Small product card revised to square, no price or name */
    .small-product-card {
      background: rgba(255 255 255 / 0.9);
      border-radius: var(--border-radius);
      box-shadow: 0 4px 8px var(--shadow-light);
      cursor: pointer;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
      aspect-ratio: 1 / 1; /* square */
      overflow: hidden;
      user-select: none;
      position: relative;
    }

    .small-product-card:hover,
    .small-product-card:focus-visible {
      box-shadow: 0 8px 20px var(--shadow-hover);
      transform: translateY(-4px);
      outline: none;
    }

    .small-product-image {
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      border-radius: var(--border-radius);
      will-change: transform;
      transition: transform 0.3s ease;
    }
    .small-product-card:hover .small-product-image,
    .small-product-card:focus-visible .small-product-image {
      transform: scale(1.05);
    }

    /* New row for just product photos at bottom of big card */
    .small-photos-row {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 0.75rem;
      position: relative;
      z-index: 1;
    }

    .small-photo {
      width: var(--small-photo-size);
      height: var(--small-photo-size);
      border-radius: 0.5rem;
      box-shadow: 0 3px 8px var(--shadow-light);
      background-size: cover;
      background-position: center;
      cursor: pointer;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
      user-select: none;
      flex-shrink: 0;
    }

    .small-photo:hover,
    .small-photo:focus-visible {
      box-shadow: 0 8px 20px var(--shadow-hover);
      transform: scale(1.1);
      outline: none;
    }

    /* Accessibility focus */
    a, button, .collection-card, .small-product-card, .small-photo {
      outline-offset: 3px;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      main.container {
        max-width: 90vw;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
      }
      .collection-card {
        flex: 0 0 280px;
        height: 440px; /* adjusted for photo row */
      }
    }

    @media (max-width: 640px) {
      .collection-card {
        flex: 0 0 260px;
        height: 410px; /* adjusted */
      }
      .small-product-cards {
        grid-template-columns: repeat(2, 1fr);
      }
      .small-photos-row {
        gap: 0.75rem;
      }
      .small-photo {
        width: 56px;
        height: 56px;
      }
    }
    @media (max-width: 400px) {
      .collection-card {
        flex: 0 0 220px;
        height: 370px; /* adjusted */
      }
      .small-product-cards {
        grid-template-columns: 1fr;
      }
      .small-photos-row {
        gap: 0.5rem;
      }
      .small-photo {
        width: 48px;
        height: 48px;
      }
    }

/* latest collection css ends */

.article-blog {
  margin: 10px;
  margin-bottom: 20px;
  background: linear-gradient(60deg, #f1e2e2, #f1d3ec, #efc6da);
  padding: 30px;
  border-radius: 5px;
  transform: translateY(50px);
  opacity: 0;
  animation: slideUpFadeIn 1s forwards;
  animation-delay: 0.3s; 
}
.article-blog h2 {
  font-family: sans-serif;
  font-size: 30px;
  color: black;
}
.article-blog p {
  font-family: sans-serif;
  font-size: 16px;
  color: #666;
}
.article-blog li {
  font-family: sans-serif;
  font-size: 16px;
  text-decoration: none;
}

/* footer css */
/* Footer Styles */
  footer {
    width: 100%;
    background: linear-gradient(135deg, #00080b, #42183c, #715750);
    color: #f0f0f0;
    padding: 60px 40px 40px;
    box-sizing: border-box;
    border-radius: 10px 10px 0 0;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUpFadeIn 1s forwards;
    animation-delay: 0.3s;
  }

  @keyframes slideUpFadeIn {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-section {
    flex: 1 1 220px;
    min-width: 220px;
  }

  .footer-section h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #00d3ff;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .footer-section p {
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cfd8dc;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 14px;
  }

  .footer-links a {
    text-decoration: none;
    color: #cfd8dc;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
  }

  .footer-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: #00d3ff;
    transition: width 0.3s ease;
    border-radius: 2px;
  }

  .footer-links a:hover,
  .footer-links a:focus {
    color: #00d3ff;
  }

  .footer-links a:hover::after,
  .footer-links a:focus::after {
    width: 100%;
  }

  /* Social Media */
  .social-icons {
    display: flex;
    gap: 18px;
    margin-top: 10px;
  }

  .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #1a2a35;
    color: #00d3ff;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 0 8px transparent;
    position: relative;
  }

  .social-icons a:hover,
  .social-icons a:focus {
    background-color: #00d3ff;
    color: #0f2027;
    transform: scale(1.2);
    box-shadow: 0 0 15px #00d3ff;
    z-index: 10;
  }

  /* Payment Methods */
  .payments {
    margin-top: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    animation: fadeInScale 1s forwards;
    animation-delay: 1.3s;
    opacity: 0;
    transform: scale(0.85);
  }

  @keyframes fadeInScale {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .payments img {
    height: 30px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
    cursor: pointer;
  }

  .payments img:hover,
  .payments img:focus {
    filter: brightness(0) invert(0.5) drop-shadow(0 0 5px #00d3ff);
  }

  /* Footer Bottom */
  .footer-bottom {
    margin-top: 45px;
    border-top: 1px solid #1a384a;
    padding-top: 18px;
    font-size: 0.9rem;
    color: #78909c;
    text-align: center;
    letter-spacing: 0.5px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    footer {
      padding: 45px 25px 30px;
    }

    .footer-container {
      flex-direction: column;
      gap: 35px;
    }

    .footer-section {
      min-width: 100%;
    }

    .payments {
      justify-content: center;
    }
  }

/* product page css */

/* Container */
.product-container-p {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Responsive columns */
  gap: 20px;
  padding: 20px;
  margin: 20px 10px;
  background-color: #ffffff; /* Light background */
  border-radius: 0.75rem; /* Rounded corners */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Card */
.product-card-p {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.75rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 460px; /* Slightly increased to ensure spacing */
  cursor: pointer;
  /* added padding to ensure spacing around */
  padding: 0;
  overflow: hidden;
}

/* Product Image */
.product-card-p img {
  width: 100%;
  height: 240px; /* Fixed image height */
  object-fit: cover;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  user-select: none;
  flex-shrink: 0;
}

/* Product Details wrapper */
.product-details-p {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1; /* Fill remaining vertical space */
  padding: 16px;
  font-family: 'Inter', sans-serif;
  /* prevent content from pushing button */
  overflow-wrap: break-word;
}

/* Content area inside details (excluding button) */
.product-info-p {
  /* This class can wrap h2, h6, p if markup updated */
  /* For now, style h2, h6, p directly */
}

.product-card-p h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.2;
}

.product-card-p h6 {
  font-size: 14px;
  color: #6b7280;
  text-decoration: line-through;
  margin: 0 0 12px;
}

.product-card-p p {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 16px;
}

/* Add to Cart Button */
.add-cart-button-p {
  background: linear-gradient(60deg, #fad6d4, #f1bfea);
  color: black;
  padding: 12px 20px;
  border: none;
  border-radius: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(17, 24, 39, 0.2);
  /* Fix button at bottom of details */
  flex-shrink: 0;
  align-self: stretch;
}

.add-cart-button-p:hover,
.add-cart-button-p:focus {
 background: linear-gradient(60deg, #f0b0ad, #e798dc);
  outline: none;
}

/* hover/focus effect for card */
.product-card-p:hover,
.product-card-p:focus-within {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-card-p {
    height: 440px; /* slightly reduced */
  }

  .product-card-p img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .product-card-p {
    height: 400px;
  }

  .product-card-p img {
    height: 200px;
  }

  .product-card-p h2 {
    font-size: 18px;
  }

  .product-card-p p {
    font-size: 14px;
  }

  .add-cart-button-p {
    font-size: 14px;
    padding: 10px 16px;
  }
}

