
/* static/style.css */
.custom-site-logo {
  width: 50px;
  height: 50px;
}
.product-tag {
  position: absolute;
  top: 10px;
  left: 5px;
  background-color:white;
  color:black;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

header{
    width: 1263.33px;
    max-width: 100%;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}
header a{
    color: #eee;
    margin-right: 40px;
}


.rounded-form {
  border-radius: 10px; /* Adjust the border radius as needed */
  background-size: cover; 
  background-position: center; /* Center the image */
  background-color: white; /* Set the background color to white */
  padding: 20px; 
}
.breadcrumb {
  background-color: #f4f4f4;
  padding: 10px;
  padding-top: 15px;
  border: 1px solid black;
  margin-top: 30px;
  margin-left: 30px;
  display: flex;
  align-items: center;
  width: 250px;
}
.custom-dropdown-menu {
  width: 10px; /* Adjust the width as needed */
}
.breadcrumb a {
  text-decoration: none;
  color: #333;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 5px;
}

/* Add additional styling as needed */



.large-M {
  font-size: 40px;
  color: #e84545;
  animation: scaleM 2s ease-in-out infinite;
  padding-bottom: -10px;
}

.brothers {
  display: block; /* Place "Brothers" on a new line */
  font-size: 20px; /* Adjust the font size if needed */
  font-family: Inter, sans-serif;
  color: #000; /* Set the color for "Brothers" */
  margin-left:25px;
  
  margin-top: -10px;
  padding-top: -20px;
}
.since {
  font-size: 17px;
  margin-right: 120px;
  margin-top: 66px;
  margin-left: -70px;
  /* padding-bottom: 10px; */
  font-family: Inter, sans-serif;
  font-weight: bold; /* Make the text bold */
  color: #8B4513; /* Change color to aesthetic brown wood */
  display: block;
  /* Add additional styles if needed */
}
 
@media screen and (max-width: 768px) {
  .image-container {
    display: none;
}
.center-on-small {
    margin-left: 0px;
    margin-right: auto;
    display: block;
  }
 
  .image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px; /* Same height as before */
    background-color: white; /* White background around the image */
    border-radius: 8px; /* Optional: Slightly rounded edges */
    padding: 10px; /* Space around the image */
  }
  
  .image-container-product {
    width: 80%; /* Make images smaller */
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-container-product img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures image fits without distortion */
  }
  /* Modern Carousel Container - Mobile First */
  .xyz {
    display: flex;
    flex-direction: column;
    height: auto;
    position: relative;
    transition: margin-top 0.3s ease-out;
    margin-top: 10px;
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }

  .slider {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .slider-item {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    animation: slideIn 0.5s forwards;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateX(20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Compact Carousel Card - Horizontal Layout: Left (Content) + Right (Image) */
  .carousel-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0;
    width: 100%;
    max-width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 14px;
    gap: 12px;
  }

  .carousel-card:active {
    transform: scale(0.98);
  }

  /* Main Row: Left Content + Right Image */
  .carousel-main-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px; /* Reduced gap between text and image */
    width: 100%;
  }

  /* Left Side: Product Name and Price */
  .carousel-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0; /* Allow flex shrinking */
  }

  /* Right Side: Larger Image */
  .carousel-right-image {
    flex: 0 0 65%; /* Increased from 58% to 65% for even larger image */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 220px; /* Increased min height */
  }

  .carousel-image-wrapper-right {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 12px;
    padding: 6px; /* Further reduced padding */
    box-sizing: border-box;
  }

  .carousel_image {
    max-width: 100%;
    max-height: 300px; /* Increased from 260px to 300px */
    width: auto;
    height: auto;
    object-fit: contain; /* Show full image without cropping */
    display: block;
    margin-left: auto; /* Align to right */
  }

  /* Bottom Section: Add to Cart Button */
  .carousel-bottom-section {
    width: 100%;
    margin-top: auto;
  }

  /* Top Badge - Now in Left Content */
  .carousel-offer-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    padding: 6px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(238, 90, 111, 0.4);
    width: fit-content;
    z-index: 5;
  }

  .badge-icon {
    font-size: 14px;
    line-height: 1;
  }

  .badge-text {
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }


  /* Product Name */
  .carousel-product-name-compact {
    margin-top: 4px;
  }

  .carousel-product-name-compact h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
    text-transform: capitalize;
  }

  /* Coupon Section */
  .carousel-coupon-compact {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }

  .coupon-badge-compact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
  }

  .coupon-label-compact {
    font-size: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .coupon-code-compact {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
  }

  /* Price Section - Now in Left Content */
  .carousel-price-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
  }

  .price-label-compact {
    font-size: 9px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .price-display-compact {
    display: flex;
    align-items: baseline;
    gap: 3px;
  }

  .currency-compact {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
  }

  .current-price-compact {
    font-size: 20px;
    font-weight: 800;
    color: #2ecc71;
    line-height: 1;
  }

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

  /* Units row */
  .carousel-units-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
  }

  .carousel-unit-pill {
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    padding: 6px 10px;
    font-size: 11px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .carousel-unit-pill .unit-label {
    font-weight: 600;
    color: #333;
  }

  .carousel-unit-pill .unit-price {
    font-weight: 500;
    color: #2ecc71;
  }

  .carousel-unit-pill.active {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.08);
  }

  .no-units-text {
    font-size: 11px;
    color: #777;
  }

  /* Extra Meta Content: Ratings & Highlights */
  .carousel-meta-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
  }

  .carousel-rating-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #555;
  }

  .rating-stars {
    color: #ffb400;
    font-size: 12px;
    letter-spacing: 1px;
  }

  .rating-score {
    font-weight: 700;
    color: #222;
  }

  .rating-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  .carousel-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .highlight-pill {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    color: #444;
    white-space: nowrap;
  }

  /* Add to Cart Button */
  .carousel-form-compact {
    margin: 0;
    padding: 0;
    all: unset;
  }

  .carousel-btn-compact {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(238, 90, 111, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  .carousel-btn-compact:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(238, 90, 111, 0.4);
  }

  .btn-icon {
    font-size: 16px;
    line-height: 1;
  }

  .btn-text {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }


  /* Touch-friendly improvements */
  .carousel-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
  }

  /* Ensure minimum tap target size (44x44px recommended) */
  .carousel-add-btn {
    min-height: 44px;
  }

  /* Smooth scrolling for carousel */
  .carousel-container {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  /* Mobile-specific optimizations for very small screens */
  @media screen and (max-width: 375px) {
    .carousel-card {
      padding: 10px;
      gap: 10px;
    }

    .carousel-main-row {
      flex-direction: column; /* Stack vertically on very small screens */
      gap: 10px;
    }

    .carousel-right-image {
      flex: 0 0 auto;
      min-height: 150px;
      width: 100%;
      justify-content: center;
    }

    .carousel-image-wrapper-right {
      width: 100%;
      padding: 8px;
    }

    .carousel_image {
      max-height: 150px;
      margin-left: 0;
      margin-right: auto;
    }

    .carousel-product-name-compact h3 {
      font-size: 16px;
    }

    .current-price-compact {
      font-size: 20px;
    }

    .carousel-btn-compact {
      padding: 10px 16px;
      min-height: 40px;
    }

    .btn-text {
      font-size: 12px;
    }
  }

  /* Medium screens */
  @media screen and (min-width: 376px) and (max-width: 480px) {
    .carousel-main-row {
      gap: 6px; /* Reduced gap */
    }

    .carousel-right-image {
      flex: 0 0 55%; /* Increased from 45% */
      min-height: 180px;
    }

    .carousel_image {
      max-height: 220px; /* Increased from 180px */
    }

    .carousel-product-name-compact h3 {
      font-size: 17px;
    }

    .current-price-compact {
      font-size: 22px;
    }
  }

  /* Legacy styles kept for backward compatibility */
  .inside {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
  }

  .right-side {
    display: none;
  }

  .line {
    display: none;
  }

  .left-side {
    display: none;
  }

  .text {
    display: none;
  }

h3 {
    font-size: 0.7em;
    letter-spacing: 1.2px;
}

  /* img {
    max-width: 100%;
    filter: drop-shadow(1px 1px 3px);
  } */
  .product__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    align-items: center;
    padding: 1em 0;
    height: 200px;
  }
  .title {
    margin-top: 6px;
    grid-column: span 2;
    height: 80px;
  }
  .price {
    margin-top: 100px; /* Adjust the top margin */
    font-family: 'Roboto', sans-serif; /* Use a different font family */
  }
  
  .currency {
    font-size: 1.3em; /* Increase the font size */
    margin-right: 10px; /* Adjust the right margin */
    color: #FF6347; /* Change the color to a reddish tone */
  }
  
  .original-price {
    text-decoration: line-through; /* Add a line-through effect */
    color: #777; /* Change the color to a darker shade */
    font-size: 0.9em; /* Adjust the font size */
   
  }
  
  .discounted-price {
    font-size: 20px; /* Increase the font size */
    color: #4CAF50; /* Change the color to a green tone */
    font-weight: bold; /* Make the discounted price bold */
    margin-top: 20px; /* Reduce the top margin */
  }
  
  .buy--btn {
    padding: 0.7em 0.7em;
    border: none;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    background: radial-gradient(circle, #ff7e5f, #feb47b);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 130px;
    width: 110px;
    margin-left:40px;
  }
  .buy--btn:hover {
    background-color: #0056b3;
  }
  .scratch-card-container {
    width: 200px;
    height: 35px;
    margin-left: 80px;
    border-radius: 10px;
    margin-bottom: 32px;
    position: relative;
    align-items: center;
    overflow: hidden;
    background-color: black;
    
  }
.scratch-card {
    position: absolute;
    inset: 0;
    justify-content: space-between;
    
    
    align-items: center;
    font-size: 28px;
    font-weight: bold;
    background-color :black;
  } 
  .scratch-card {
    display: flex; /* Use flexbox for horizontal layout */
    
   
}

.scratch-card img {
    
    height:30px;
    width: 30px;
    margin-left: 20px;
  }
  
  /* Remove margin from the last image to prevent extra spacing */
  .scratch-card img:last-child {
    margin-right: 10px;
    margin-left: 30px;
  }
  .countdown-timer {
    left: 0;
    width: 100%;
    height: 35px;
    background: radial-gradient(circle, #ff7e5f, #feb47b);
    overflow: hidden;
    position: relative;
    margin-top: 10px;
  }
  .moving-text {
    padding: 3px;
    display: inline-block;
    white-space: nowrap;
    animation: moveText 10s linear infinite alternate, flashText 1s linear infinite;
  }
  @keyframes moveText {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(740%);
    }
  }
  @keyframes flashText {
    0%, 100% {
      font-weight: bold;
      color: brown;
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
      font-weight: bolder;
      color: black;
      text-shadow: 0 0 20px rgba(255, 255, 255, 1);
    }
  }
  @keyframes boldHighlight {
    0%, 100% {
      font-weight: 700;
    }
    50% {
      font-weight: 1000;
    }
  }
  .highlighting-text {
    animation: boldHighlight 1s infinite;
    margin-left:130px;
    margin-top:-24px;
  }
  .product__info .title .sales {
    width: 70px;
    height: 70px;
    margin-left: 0px;
    object-fit: contain;

  }
  
  .input-box {
    border: 1px solid transparent; /* Initially set border to transparent */
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Padding inside the input box */
    background: radial-gradient(circle, #4d2600, #1a0000); /* Radial gradient background */
    width:160px;
    /* Set the border image */
    border-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    border-image-slice: 1; /* Set slicing value */
    margin-left: 105px;
    margin-top:20px;
    color: #fff; /* White text color */
  }
  .input-box input[type="text"] {
    border: none; /* Remove border of the input field */
    background: transparent; /* Make the background transparent */
    font-size: 16px; /* Adjust font size */
    color:white;
    width: 100%; /* Take up full width of the container */
    outline: none; /* Remove default outline */
    text-align: center; /* Center the text horizontally */
    animation: slideIn 0.5s ease forwards; /* Apply the animation */
  }
  /* Legacy styles - kept for backward compatibility but not used in new carousel */

}


@media screen and (max-width: 1366px) and (min-width: 770px) {
  .divider-text{
    display: None;
  }
  .back-btn{
    display: None;
  }
  .search-container {
    position: relative;
    width: 100%;
    margin-top:-10px;
}

#search-input {
    width: 100%;
    padding-right: 40px; /* Space for the icon */
}

.search-button {
    position: absolute;
    right: 10px; /* Adjust for proper alignment */
    top: 55%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #555; /* Adjust color */
}
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  max-width: 150px;
  height: auto;
  width:130px;
  border: 1px solid rgba(20, 24, 40, 0.08);
  box-shadow: 0 6px 18px rgba(20, 24, 40, 0.08);
  border-radius: 14px;
  background: #fafbfd;
  object-fit: cover;
}

.since {
  font-size: 16px;
  font-weight: bold;
  font-style: italic;
  color: #111; /* Deep glossy black */
  font-family: 'Dancing Script', cursive;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to right, #222, #000);
  
  -webkit-text-fill-color: transparent;
  margin-left: 10px; /* Space between logo and text */

  /* Animation */
  opacity: 0;
  transform: translateX(30px); /* Start off-screen */
  animation: slideIn 1.2s ease-out forwards;
}

/* Keyframes for the animation */
@keyframes slideIn {
  0% {
      opacity: 0;
      transform: translateX(30px);
  }
  60% {
      opacity: 1;
      transform: translateX(-5px);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}



  /* Tablet/Desktop adjustments for carousel */
  @media screen and (min-width: 770px) {
    .xyz {
      margin-top: 20px;
      padding: 0 20px;
    }

    .carousel-card {
      max-width: 500px;
      padding: 16px;
    }

    .carousel-main-row {
      gap: 10px; /* Reduced gap on tablets */
    }

    .carousel-right-image {
      flex: 0 0 60%; /* Increased from 55% to 60% for larger image */
      min-height: 220px;
    }

    .carousel-image-wrapper-right {
      padding: 10px; /* Reduced padding */
    }

    .carousel_image {
      max-height: 280px; /* Increased from 220px to 280px */
    }

    .carousel-product-name-compact h3 {
      font-size: 20px;
    }

    .current-price-compact {
      font-size: 26px;
    }

    .carousel-btn-compact {
      padding: 14px 24px;
    }

    .btn-text {
      font-size: 14px;
    }
  }
 
  h3 {
    font-size: 0.7em;
    letter-spacing: 1.2px;
    
  }
  /* img {
    max-width: 100%;
    filter: drop-shadow(1px 1px 3px );
  } */
  .product__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    align-items: center;
    padding: 1em 0;
    height: 80px;
  }
  .title {
    margin-top: 10px;
    grid-column: span 2;
    height: 90px;
  }
  /* .price {
    margin-top: 100px;
  }
  .currency {
    font-size: 1.2em;
    margin-right: 5px;
  }
  .original-price {
    text-decoration: line-through;
    color: #999;
  }
  .discounted-price {
    font-size: 20px;
    margin-top: 20px;
  } */
  .price {
    margin-top: 100px; /* Adjust the top margin */
    font-family: 'Roboto', sans-serif; /* Use a different font family */
  }
  
  .currency {
    font-size: 1.3em; /* Increase the font size */
    margin-right: 10px; /* Adjust the right margin */
    color: #FF6347; /* Change the color to a reddish tone */
  }
  
  .original-price {
    text-decoration: line-through; /* Add a line-through effect */
    color: #777; /* Change the color to a darker shade */
    font-size: 0.9em; /* Adjust the font size */
   
  }
  
  .discounted-price {
    font-size: 20px; /* Increase the font size */
    color: #4CAF50; /* Change the color to a green tone */
    font-weight: bold; /* Make the discounted price bold */
    margin-top: 20px; /* Reduce the top margin */
  }
  
  .buy--btn {
    padding: 1em 1em;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 1px;
    color: #fff;
    background: radial-gradient(circle, #ff7e5f, #feb47b);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 150px;
    width: 150px;
  }
  .buy--btn:hover {
    background-color: #0056b3;
  } 
    .scratch-card-container {
    width: 300px;
    height: 40px;
    margin-top: 20px;
    border-radius: 10px;
    margin-bottom: 32px;
    position: relative;
    align-items: center; 
    overflow: hidden;
    
  }
  .scratch-card {
    position: absolute;
    inset: 0;
    display: grid;
    font-size: 28px;
    font-weight: bold;
  } 
  .scratch-card {
    display: flex; /* Use flexbox for horizontal layout */
    
    align-items: center; /* Center items vertically */
  }
  
  .scratch-card img {
    max-width: 100px; /* Adjust the maximum width of the images */
    height: auto; /* Maintain aspect ratio */
    margin-right:130px;
  }
  
  /* Remove margin from the last image to prevent extra spacing */
  .scratch-card img:last-child {
    margin-right: 0;
  }
  canvas {
    position: absolute;
    cursor: grabbing;
  }
  .countdown-timer {
    left: 0;
    width: 100%;
    height: 40px; 
    background: radial-gradient(circle, #ff7e5f, #feb47b);
    overflow: hidden;
  }
  
  .moving-text {
    padding: 5px;
    display: inline-block;
    white-space: nowrap;
    animation: moveText 10s linear infinite alternate, flashText 1s linear infinite;
  }
  @keyframes moveText {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(740%);
    }
  }
  @keyframes flashText {
    0%, 100% {
      font-weight: bold;
      color: brown; 
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
      font-weight: bolder;
      color: black; 
      text-shadow: 0 0 20px rgba(255, 255, 255, 1);
    }
  }
  @keyframes boldHighlight {
    0%, 100% {
      font-weight: 700; 
    }
    50% {
      font-weight: 1000; 
    }
  }
  .highlighting-text {
    animation: boldHighlight 1s infinite; 
    margin-left:80px;
    margin-top:-29px;
  }
  .product__info .title .sales {
    /* width: 200px;
    height: 200px; */
    margin-left: 0px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 3px );
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    padding: 0;
    width: 100%;
  }
  .scratch-card img {
    width: 30px;
    height: 30px;
    margin-left:30px;
    /* object-fit: contain; */
  }
  @keyframes slideIn {
    from {
      opacity: 0; /* Start with opacity 0 */
      transform: translateY(-20px); /* Start slightly above its final position */
    }
    to {
      opacity: 1; /* End with full opacity */
      transform: translateY(0); /* End at its final position */
    }
  }
  .input-box {
    border: 1px solid transparent; /* Initially set border to transparent */
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Padding inside the input box */
    background: radial-gradient(circle, #4d2600, #1a0000); /* Radial gradient background */
    width:200px;
    /* Set the border image */
    border-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    border-image-slice: 1; /* Set slicing value */
    margin-left: 35px;
   
    color: #fff; /* White text color */
  }
  
  
  .code-text{
    animation: slideIn 0.5s ease forwards;
    margin-left:95px;
  }
  
  .input-box input[type="text"] {
    border: none; /* Remove border of the input field */
    background: transparent; /* Make the background transparent */
    font-size: 16px; /* Adjust font size */
    color:white;
    width: 100%; /* Take up full width of the container */
    outline: none; /* Remove default outline */
    text-align: center; /* Center the text horizontally */
    animation: slideIn 0.5s ease forwards; /* Apply the animation */
  }
  
  
  
  
} 



/* Remove the focus outline for the button */
.btn.btn-google:focus {
outline: none;
}
.social-icons .fab{
width:40px;
height:40px;
border-radius:50%;
text-align:center;
line-height:40px;
font-size:20px;
color:#000;
background:#fff;
margin-right:15px;
cursor:pointer;
margin-top:34px;

} 

form{
padding-bottom:15px;
display:flex;
align-items:center;
justify-content:space-between;
border-bottom:1px solid #ccc;
width: 80%; 

}
form .far{
font-size:18px;
margin-right:10px;
}
form input{
width:100%;
background:transparent;
color:#ccc;
border:0;
outline:none;
}
form button{
background:transparent;
border:0;
outline:none;
cursor:pointer;
}
form button .fas{
font-size:16px;
color:#ccc;
margin-right:25px;

}

ul {
list-style: none;
padding: 0;
margin: 0;
}
ul li{
list-style:none;
margin-bottom:13px;

}
ul li a{
text-decoration:none;
color:#fff;
}
.col h3{
width:fit-content;
margin-bottom:20px;
position:relative;
}
.email-id{
width:fit-content;
border-bottom:1px solid #ccc;
margin:20px 0;
}

hr{
width:90%;
border:0;
border-bottom:1px solid #ccc;
margin:20px auto;
}
.copyright{
text-align:center;
}

.underline{
width:100%;
height:5px;
background:#767676;
border-radius:3px;
position:absolute;
top:10px;
left:0;
margin-top:1px;
overflow:hidden;
display: None;
}
.underline span{
width:15%;
height:100%;
background:#fff;
border-radius:3px;
position:absolute;
top:4px;
left:10px;
animation:moving 2s linear infinite;
display: None;
}
@keyframes moving{
0%{
left:-20px;
}
100%{
left:100%;
}
}
.col{
flex-basis:25%;
padding:10px;
}
.col:nth-child(2), .col:nth-child(3){
flex-basis:25%;
}
@media (max-width: 768px) {
  footer {
    bottom: unset;
  }
  .col {
    flex-basis: 100%;
    margin-left: 0px;
  }
  .col:nth-child(2),
  .col:nth-child(3) {
    flex-basis: 100%;
    margin-left: 0px;
  }
}

.row{
  background:white;
  border-radius: 30px;
}

    

.btn.btn-google:focus {
  outline: none;
}
.card-footer{
  align-items: left;
}
.img{
  border-top-left-radius: 30px;

}
    body {
        background-color: #f8f9fa;
    }

    .container {
        max-width: 400px;
    }
    /* .product-card {
      margin: 10px;
      padding: 15px;
      border: 1px solid #ddd;
      border-radius: 5px;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
      background-color: #fff;
      transition: transform 0.2s;
    }
    
    /* Style the image within the product card */
    
    
    /* Style the title of the product */
    .product-card .card-title {
      font-size: 18px;
      font-weight: bold;
      margin-top: 10px;
    }
    
    /* Style the description of the product */
    .product-card .card-text {
      font-size: 14px;
      margin-top: 10px;
    }
    
    /* Style the price of the product */
    .product-card .card-price {
      font-size: 16px;
      font-weight: bold;
      color: #FF5722; /* Adjust the color as needed */
      margin-top: 10px;
    }
    
    /* Add a hover effect for product cards */
    .product-card:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    }
     */

    /* Modern Product Card Styles */
    .product-card {
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: inherit;
    }

    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        text-decoration: none;
        color: inherit;
    }

    .product-card .card-body {
        padding: 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
    }

    .product-card .product-name {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0 0 4px 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: none;
    }



    .product-card .product-tag {
        position: absolute;
        top: 8px;
        left: 8px;
        background-color: #ff5722;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: bold;
        z-index: 1;
    }

    .image-container-product {
        height: 120px;
        overflow: hidden;
        position: relative;
    }

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

    /* Remove link underlines */
    .card-link {
        text-decoration: none;
        color: inherit;
    }

    .card-link:hover {
        text-decoration: none;
        color: inherit;
    }

    /* Mobile responsive */
    @media (max-width: 768px) {
        .product-card .card-body {
            padding: 10px;
        }
        
        .product-card .product-name {
            font-size: 13px;
        }
        

        
        .image-container-product {
            height: 100px;
        }
        
        .product-card .product-tag {
            font-size: 9px;
            padding: 3px 6px;
        }
    }

   
    .form-group {
        margin-bottom: 20px;
    }

    label {
        font-weight: bold;
    }

    button.btn-primary {
        width: 100%;
    }

    .card-footer {
        text-align: center;
        background-color: #f8f9fa;
    }

    .btn-outline-secondary {
        border-color: #ccc;
    }

    .btn-outline-secondary:hover {
        background-color: #ccc;
    }


    .navbar {
      margin: 0;
      padding: 0;
  }
  
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.d-inline-flex {
    display: flex;
    padding: 10px;
    height:60px;
    /* Add any other styles you want for the container */
}
@media screen and (max-width: 768px) {
    .d-inline-flex {
        height: 75px; /* Adjust the height as needed for mobile screens */
    }
}
.logo{
    width:20%;
    display:flex;
    align-items: center; /* Center the logo vertically */
    /* Add spacing between logo and search bar */
   
}
.logo img {
    width: 100%; /* Make sure the image occupies the entire width of the logo div */
    height: auto;
}
@media screen and (max-width: 1366px) { 
     /*MEDIA SCREEN LAPTOP*/

     
    .container{
        justify-content:space-between;
        display: flex;
        align-items:center;
        width: 100%;
    }
.header {
  
    display: flex;
    justify-content: space-between;
    padding: 0px 25px;
    height: 120px;
    align-items: center;
    width: 100%;
    
}

.logo {
    order: -1;
    font-size: 18px; 
    margin: 0; 
    padding: 0; 

}



@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.navbar-nav2 {
    display: flex;
    list-style: none;
    margin:0;
    padding: 0;
    align-items: center;
  align-content: right;
    margin-left: 80px;
    font-size:18px;
/*    justify-content: flex-end;*/
}
/* Apply nav-link1 styles to text elements only */
.navbar-nav2 li.nav-item1 a.nav-link1 {
  text-decoration: none; /* Remove underline from links */
  color: inherit; /* Inherit color from parent */
}


/* Style for the text-only links when hovered */
.navbar-nav2 li.nav-item1 a.nav-link1:hover span {
  color: #0056b3; /* Change text color on hover */
}

.navbar-nav2 li.product_special a.nav-link1:hover {
  color: #007bff;

}


.navbar-nav2 li.nav-item1 {
  text-align: center; /* Center the text within the list item */
  margin-right: 20px;
  margin-top: 0;
}

.navbar-nav2 li.product_special {
  text-align: center; /* Center the text within the list item */
  margin-right: 20px;
  margin-top: 0;
}
.product {
  /* position: relative; */
  margin-bottom:12px;
}

.toggle-button {
  background-color: Black;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.product-list {
  position: fixed;
            top: 0;
            right: 100%; /* Start off-screen to the right */
            height: 100vh;
            width: 20%; /* Adjust this value to control the width of the collapsed menu */
            background-color: white;
            transition: left 0.3s ease-in-out;
            z-index: 1000;
           
        }
}

.product-list li {
  text-decoration: none;
  color: black;
  padding: 0px;
  list-style: none;
}
.product-list .nav-link3{
    text-decoration:none;
    padding:0px;
}

.product-list .nav-item3 .nav-link3 {
  color: black;
}

.show {
  right: 0; /* Show the product list */
}
.dropdown-menu li{
padding: 5px;
margin-top: 2px;
list-style: none;
}
.dropdown-menu .dropdown-item{
    text-decoration:none;
}

/* Show sub-menu when hovering over parent menu item */
/* Show sub-menu when hovering over parent menu item */
.product-list .dropdown-submenu:hover .dropdown-menu {
  display: block;
  position: absolute;
  z-index: 1001; /* Adjust the z-index value as needed */
  background-color: white; /* Update the background color as needed */
}

/* Adjust sub-menu positioning */

.navbar-nav2 .nav-link1 {
  display: flex;
  flex-direction: column; /* Stack icon and text vertically */
  align-items: center; /* Center items vertically */
  text-align: center;
}

.nav-link1 {
    text-decoration: none;
    color: #333;

}


.navbar-nav1{
    display:none;

}
.navbar-nav1 li{
    display: none;
}

/* Style for the search button */




 
   

.form-control:focus {
    outline: none;
    box-shadow: none;
}
/* Apply some basic styling to the navigation bar */
/* Apply some basic styling to the navigation bar */
.navbar {
 
  display: flex;
  box-shadow: none;
  height: 100%;
  width: 100%;
  


}

/* Remove default list bullet points */
.navbar-nav {
  list-style: none;
}


    
@media screen and (max-width: 768px)


 {
  .hide-on-mobile {
    display: none !important;
  }
  .navbar-nav1 li.nav-items span:nth-child(3) {
    display: none; /* Hide the third span element within the list item */
  }
    .nav-items {
        display: none; /* Hide the list on screens up to 768px wide */
    }
}

@media screen and (max-width: 768px) {
  
  .back-btn {
    display: inline-block;
    font-size: 50px;
    color: black;
    text-decoration: none;
    font-weight: 900;
    border: none;
    background: none;
    outline: none; /* Removes default focus outline */
}

/* Remove focus and active styles */
.back-btn:focus,
.back-btn:active,
.back-btn:visited {
    outline: none;
    box-shadow: none;
    color: black; /* Ensures no color change */
}

/* Remove focus styles for all browsers */
.back-btn:focus-visible {
    outline: none;
    box-shadow: none;
}
a.back-btn {
    -webkit-tap-highlight-color: transparent; /* Removes blue highlight on mobile */
}

 
  .logo-container {
    position: absolute;
    
    left: 10px; /* Adjust as needed */
    display: flex;
    align-items: center;
    height:100px;
    width: 150px;
   
  }
  .navbar {
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}







.logo-image {
  max-width: 120px;
  height: 100px;
  width: 100px;
  border: 1px solid rgba(20, 24, 40, 0.08);
  box-shadow: 0 6px 16px rgba(20, 24, 40, 0.08);
  border-radius: 14px;
  background: #fafbfd;
  object-fit: cover;
}


.since {
  margin-left: 8px;
  font-size: 14px; /* Slightly larger for better visibility */
  font-weight: bold;
  font-style: italic; /* Makes the text italic */
  color: #444; /* Darker shade for better contrast */
  font-family: 'Dancing Script', cursive; /* Optional: More stylish font */
}


    .Form{
      margin-left: 0px;
    }
    .container1{
      margin-left: 0px;
    }
    .google{
      margin-left: 0px;
    }
    .center-on-small {
      margin-left: auto;
      margin-right: auto;
      display: block;
    }
    .logo {
        margin-bottom: 10px;
        padding: 0px;
        width:110%;
        
    }
    body {
      background:white;
      /* Deep navy blue transitioning to soft grayish white */
  }
  
  .desktop-nav.navbar{
    padding: 0;
  }
   .navbar .container-fluid {
     padding: 0;
    }
    
    .header{
        grid-template-columns: auto 1fr auto ;
        padding:0px 3px 0px 3px;
        height: 100px;
       
        display: grid;
        width: 100%;
        border: None;

       
       
       
       
/*        grid-template-columns: repeat(4,lfr);*/

    }
   /* Smooth transition for shrinking */
/* Default header styling */
.header {
    transition: height 0.4s ease-in-out, padding 0.4s ease-in-out;
    height: 120px; /* Adjust based on your original header height */
    padding: 15px 0; /* Adjust for spacing */
}

/* When scrolled down, shrink header */
.shrink {
    height: 50px;
    padding: 5px 0;
}

   .logo-container,
   .header-right {
       transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
   }
   
   
   .header-right.hidden {
       transform: translateY(-100%);
       opacity: 0;
   }
   .logo-container.hidden {
    transform: translateY(-100%);
    opacity: 0;
}




/* Smooth transition for search bar */
.search {
    transition: transform 0.4s ease-in-out, top 0.4s ease-in-out;
}

.fixed-search {
  position: fixed;
  top: 0; /* Ensures it moves to the top smoothly */
  left: 0;
  width: 100%;
  background: white; /* Adjust to match your navbar color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0; /* Adjust padding */
  z-index: 1000; /* Ensures it's above other content */
  
  /* Smooth transition */
  transform: translateY(0%);
  transition: transform 0.4s ease-in-out, top 0.4s ease-in-out;
}

/* When scrolling, bring search box into view */
.show-search {
  transform: translateY(0);
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white; /* Match your design */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Ensure it's above other content */
  transition: transform 0.4s ease-in-out, top 0.4s ease-in-out;
  transform: translateY(-100%);
}

/* When scrolled, bring elements into view */
.show-fixed {
  transform: translateY(0);
}

/* Ensure smooth stacking */
.search, .countdown-timer, .top-nav {
  width: 100%;
  padding: 10px 0;
}

.countdown-timer {
  background: #f8d7da; /* Light red (adjustable) */
  text-align: center;
  font-weight: bold;
}





.search {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: flex-start; /* Align to the left */
  width: 100%;
  
  height: 50px;
  padding-left: 0; /* Ensure no extra padding */
  
}

#search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start; /* Align content to the left */
  width: 100%;
  background:white;
  margin-top: -3px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  height: 55px;

}

    
    
      /* Search input + icon */
      .search-input-wrapper {
          display: flex;
          width: 100%;
          align-items: center;
          border: 1px solid #ccc;
          border-radius: 5px;
          overflow: hidden;
          background-color: brown;
      }
  
      #search-input {
          width: 100%;
          padding: 10px;
          border: none;
          outline: none;
      }
  
      /* Search button (icon) */
      #search-form button {
          background: transparent;
          border: none;
          cursor: pointer;
          padding: 10px;
      }
      .search-container {
        position: relative;
        background: linear-gradient(135deg, #ffffff, #f8f8f8); /* Soft gradient */
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Soft shadow effect */
       margin-top: 5px;
        transition: box-shadow 0.3s ease-in-out, transform 0.2s ease-in-out;
    }
    
    /* When user focuses inside the search bar */
    .search-container:focus-within {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        transform: scale(1.02); /* Slight pop effect */
    }
    
    
    #search-input {
        width: 100%;
        padding-right: 40px; /* Space for the icon */
    }
    
    .search-button {
        position: absolute;
        right: 10px; /* Adjust for proper alignment */
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        font-size: 18px;
        color: #555; /* Adjust color */
    }
    
      /* Recent Searches Section */
      .recent_search {
          width: 100%; /* Match form width */
          background: #f8f9fa;
          padding: 10px;
          border-radius: 8px;
          box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
          margin-top: 20px;
          text-align: left;
          top: 98%;
         
      }
  
  
    .navbar-nav1{
    align-items:center;
    list-style: none;
    display: flex;
/*    margin-left:10px;*/
    margin-right: 15px;
    margin-top: 0px;
    justify-content: space-between;
    
    font-size: 20px;
   
    
}
.navbar-nav1 li{
    margin-right: 15px;
    margin-top: 0px;
    display: flex;
    width:50px;
}
.navbar-nav1 .nav-items a.nav-links {
  text-decoration: none; /* Remove underline */
}
 
 /*.navbar-nav1 li.nav-items a.nav-links:hover {
  color: #333;
}  */ 
.navbar-nav2 {
    display: none;
    }
.navbar-nav {
  list-style: none;
}


/* Apply ml-auto class to shift navigation items to the right */
.navbar-nav.ml-auto li.nav-item {
  margin-left: 10px; /* Adjust spacing between navigation items */
}

/* Apply custom styling to navigation links */
.navbar-nav li.nav-item a.nav-link {
  color: #333;
  text-decoration: none;
 
}




.loginbutton {
    display: flex;
    align-items: center;
    justify-content: center; /* Horizontally center the content */
    padding: 10px;
    margin-right: 50px;
    font-size: 14px; /* Increase the font size */
    font-weight: bold; /* Make the text bold for better visibility */
    border: none;
    outline: none;
    background-color: #333333; /* Dark background */
    color: white; /* Light text color */
    border-radius: 5px;
    width: 100px; /* Adjust the width as needed */
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.loginbutton:hover {
    background-color: #0056b3;
}

.product-list li {
  display: none;
}
.product-list{
    display: none;
}
.toggle-button{
    display:none;
}

/* Navbar Container */
/* Ensure user icon is at the rightmost */
.navbar-toggler {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid black;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  
  background: linear-gradient(145deg, #c9a226, #e6b800); /* Golden gradient */
  color: black; /* Text color */
  
  outline: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  -webkit-tap-highlight-color: transparent; /* Removes blue highlight on mobile */
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Smooth hover effect */
}

.navbar-toggler:hover {
  background: linear-gradient(145deg, #e6b800, #c9a226); /* Reverse gradient on hover */
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Ensure no focus styles appear */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:visited {
    outline: none;
    box-shadow: none;
}

/* Mobile tap highlight fix */
a.navbar-toggler {
  -webkit-tap-highlight-color: transparent;
}

/* Hover effect */
.navbar-toggler:hover {
  background-color: #f1f1f1;
}

#user-icon {
  font-weight: bold;
}


/* Back Button */



     .navbar-nav .nav-link i {
      margin-right: 10px; /* Adjust the margin as needed */
    }
     
    .nav-links{
         font-family: 'Inter', sans-serif;
      color: #000000; /* Black text color */    }
      
}

.content {
  /* Adjust the margin-bottom to accommodate the footer's height */
  margin-bottom: 60px; /* Adjust as needed */
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 65px;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #e9ecef;
}

.mobile-bottom-nav__item {
  flex: 1;
  text-align: center;
}

.mobile-bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6c757d;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 4px;
  transition: all 0.3s ease;
  height: 100%;
}

.mobile-bottom-nav__link:hover {
  color: #007bff;
  text-decoration: none;
}

.mobile-bottom-nav__link i {
  font-size: 20px;
  margin-bottom: 4px;
}

.mobile-bottom-nav__link span {
  font-size: 10px;
  line-height: 1;
}

/* Bottom padding for legacy mobile nav — not on account hub (no bottom bar) */
@media (max-width: 768px) {
  body:not(.mb-account-body):not(.mb-has-bottom-dock) {
    padding-bottom: 65px;
  }

  .container {
    margin-bottom: 20px;
  }
}

/* ========== Skeleton loading (Instagram/Reddit-style placeholders) ========== */
:root {
  --skeleton-bg: #e9ecef;
  --skeleton-shine: rgba(255, 255, 255, 0.55);
}

.skeleton-scope-dark {
  --skeleton-bg: #3a3f44;
  --skeleton-shine: rgba(255, 255, 255, 0.12);
}

@keyframes skeleton-shimmer {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.skeleton,
.skeleton-line,
.skeleton-img,
.skeleton-pill {
  position: relative;
  overflow: hidden;
  background-color: var(--skeleton-bg);
  border-radius: 0.375rem;
}

.skeleton::after,
.skeleton-line::after,
.skeleton-img::after,
.skeleton-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--skeleton-shine),
    transparent
  );
  transform: translateX(-120%);
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton::after,
  .skeleton-line::after,
  .skeleton-img::after,
  .skeleton-pill::after {
    animation: none;
    transform: translateX(0);
    opacity: 0.25;
    width: 100%;
  }
}

.skeleton-line {
  display: block;
  height: 0.85em;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

.skeleton-line:last-child {
  margin-bottom: 0;
}

.skeleton-line.w-25 { max-width: 25%; }
.skeleton-line.w-50 { max-width: 50%; }
.skeleton-line.w-75 { max-width: 75%; }
.skeleton-line.w-45 { max-width: 45%; }
.skeleton-line.w-55 { max-width: 55%; }
.skeleton-line.w-70 { max-width: 70%; }
.skeleton-line.w-90 { max-width: 90%; }

.skeleton-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.5rem;
}

.skeleton-pill {
  height: 1.75rem;
  width: 5rem;
  border-radius: 999px;
}

.skeleton-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  padding: 0.75rem;
  background: #fff;
}

/* Home product grid: skeleton row must not use gy negative margin (overlaps “Products” title) */
#products-load-root .skeleton-panel--product-grid .products-skeleton-row {
  margin-top: 0;
  --bs-gutter-y: 0;
}

/* Space + title layer — real cards are shorter than old skeleton; avoid first tile touching heading */
.skeleton-panel--product-grid {
  margin-top: 12px;
  padding-top: 0;
  clear: both;
}

.product-header--above-grid {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

/* Compact tile — match .product-card: image strip + .card-body padding (~12px) */
.skeleton-card--product {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.skeleton-img--product-tile {
  display: block;
  width: 100%;
  height: 120px;
  aspect-ratio: auto;
  max-height: none;
  border-radius: 0;
  margin: 0;
}

.skeleton-card--product .skeleton-line--product {
  height: 10px;
  margin: 10px 12px 6px;
  border-radius: 4px;
}

.skeleton-card--product .skeleton-line--product:last-child {
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .skeleton-img--product-tile {
    height: 100px;
  }
  .skeleton-card--product .skeleton-line--product {
    margin: 8px 10px 5px;
    height: 9px;
  }
  .skeleton-card--product .skeleton-line--product:last-child {
    margin-bottom: 10px;
  }
}

/* ─── Subproduct listing (subproduct1 + subproduct_list.html) HTMX skeleton ─── */
#subproduct-list-load-root .skeleton-panel--subproduct-grid .products-skeleton-row--subproduct {
  margin-top: 0;
  --bs-gutter-y: 0;
}

.skeleton-panel--subproduct-grid {
  margin-top: 10px;
  clear: both;
}

.subproduct-heading--above-grid {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

/* Match .swiggy-card: .product-image-container height 140px / 110px mobile */
.skeleton-card--subproduct {
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.skeleton-img--subproduct-tile {
  display: block;
  width: 100%;
  height: 140px;
  aspect-ratio: auto;
  max-height: none;
  border-radius: 0;
  margin: 0;
}

.skeleton-card--subproduct .skeleton-line--subproduct {
  height: 10px;
  margin: 8px 10px 6px;
  border-radius: 4px;
}

.skeleton-card--subproduct .skeleton-line--subproduct-short {
  height: 32px;
  margin: 4px 10px 10px;
  border-radius: 8px;
  max-width: calc(100% - 20px);
}

@media (max-width: 768px) {
  .skeleton-img--subproduct-tile {
    height: 110px;
  }
  .skeleton-card--subproduct .skeleton-line--subproduct {
    margin: 6px 8px 5px;
    height: 9px;
  }
  .skeleton-card--subproduct .skeleton-line--subproduct-short {
    height: 40px;
    margin: 4px 8px 8px;
    max-width: calc(100% - 16px);
  }
}

/* Home: horizontal category strip + special-offer carousel (above-the-fold) */
#home-top-nav-load-root .home-top-nav-skeleton {
  padding: 0;
  margin: 0;
  border: none;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.home-top-nav-skeleton-track {
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 5px;
  gap: 0;
  -webkit-overflow-scrolling: touch;
}

.home-top-nav-skeleton-track::-webkit-scrollbar {
  display: none;
}

.home-top-nav-skeleton-item {
  flex: 0 0 auto;
  text-align: center;
  padding: 5px;
  margin: 0 8px;
  min-width: 64px;
}

.home-top-nav-skeleton-ico {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border-radius: 10px;
}

.home-top-nav-skeleton-label {
  margin: 6px auto 0;
  max-width: 52px;
  height: 10px;
}

#home-carousel-load-root .home-carousel-skeleton {
  padding: 0 0 6px;
  margin: 0;
  border: none;
  background: transparent;
}

.home-carousel-skeleton-xyz {
  margin-top: 10px;
}

.home-carousel-skeleton-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 14px;
  margin: 0;
}

.home-carousel-skeleton-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.home-carousel-skeleton-left {
  flex: 1;
  min-width: 0;
}

.home-carousel-skeleton-badge {
  height: 1.25rem;
  max-width: 5.5rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.home-carousel-skeleton-right {
  flex: 0 0 55%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 180px;
}

.home-carousel-skeleton-img {
  width: 100%;
  max-width: 100%;
  min-height: 180px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  max-height: 220px;
}

.home-carousel-skeleton-cta {
  height: 44px;
  border-radius: 12px;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
}

.home-carousel-skeleton-progress {
  margin-top: 10px;
}

.home-carousel-skeleton-progress-bar {
  display: block;
  width: 50px;
  height: 5px;
  border-radius: 5px;
  background: var(--skeleton-bg);
  position: relative;
  overflow: hidden;
}

.home-carousel-skeleton-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--skeleton-shine),
    transparent
  );
  transform: translateX(-120%);
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel-skeleton-progress-bar::after {
    animation: none;
    transform: translateX(0);
    opacity: 0.25;
    width: 100%;
  }
}

@media screen and (max-width: 375px) {
  .home-carousel-skeleton-row {
    flex-direction: column;
  }
  .home-carousel-skeleton-right {
    flex: 0 0 auto;
    width: 100%;
    min-height: 150px;
    justify-content: center;
  }
  .home-carousel-skeleton-img {
    min-height: 150px;
    max-height: 150px;
  }
}

.skeleton-panel[hidden],
.skeleton-panel.d-none {
  display: none !important;
}

[aria-busy="true"] {
  pointer-events: none;
}

[aria-busy="true"]:not(.skeleton-allow-interaction) {
  user-select: none;
}


















