/* Wrapper replacing body styles for isolation */
    .shw-body-wrapper {
      position: relative; /* To contain the ::before */
        perspective: 1600px;
        width: 100%;
        height: 9%;
        min-height: 900px;
        user-select: none;
        overflow: hidden; /* clips background if needed */
        z-index: 0;
        background: linear-gradient(135deg, #2c3e50, #4ca1af);
        display: block;
    
    }
    /* Background image with low opacity: applied to wrapper */
    .shw-body-wrapper::before {
      content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: url('/img/heros2.png') no-repeat center center/cover;
        opacity: 0.2;
        pointer-events: none;
        z-index: -1;
        border-radius: 18px; /* match card rounding—or 0 */
        object-fit: cover;
    }
    

    /* Container for the showcase renamed */
    .shw-showcase-wrapper {
      position: relative; /* contain ::before */
      perspective: 1600px;
        width: 100%;
        height: 520px;
        min-height: 320px;
        user-select: none;
        overflow: visible;
        z-index: 0;
    }
    /* The 3D carousel wrapper */
    .shw-carousel {
        margin: auto;
        position: absolute;
        top: 20%;
        transform: translateY(-50%);
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
        cursor: grab;
        will-change: transform;
        box-sizing: border-box;
    }
    .shw-carousel:active {
      cursor: grabbing;
      transition: none;
    }
    /* Each product card */
    .shw-product-card {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 260px;
      padding: 24px;
      background: rgba(255 255 255 / 0.1);
      border-radius: 18px;
      box-shadow: 0 28px 48px rgba(0, 0, 0, 0.35);
      transform-style: preserve-3d;
      backdrop-filter: blur(16px);
      border: 1.5px solid rgba(255 255 255 / 0.2);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      color: #e0e7f1;
      font-weight: 600;
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
    }
    /* We'll scale front-facing product bigger & others smaller */
    .shw-product-card[data-front="true"] {
      transform: translate(-50%, -50%) scale(1.15);
      box-shadow: 0 32px 70px rgba(76, 161, 175, 0.9);
      z-index: 11;
      border-color: #4ca1af;
      color: #cce8ff;
    }
    .shw-product-card img {
      width: 150px;
      height: 150px;
      object-fit: contain;
      margin-bottom: 26px;
      filter: drop-shadow(0 12px 8px rgba(0,0,0,0.45));
      border-radius: 14px;
      background: #fff;
      user-select: none;
    }
    .shw-product-card h3 {
      font-size: 1.5rem;
      margin-bottom: 13px;
      letter-spacing: 0.065em;
      text-shadow: 0 0 8px rgba(0,0,0,0.75);
      user-select: text;
    }
    .shw-product-card p {
      font-size: 1rem;
      color: #a9bbca;
      line-height: 1.45;
      margin-bottom: 26px;
      user-select: text;
    }
    /* Adjust product card height dynamically: use content's natural height */
    .shw-product-card .shw-price {
      font-size: 1.35rem;
      font-weight: 800;
      background: linear-gradient(135deg, #4ca1af, #1e3357);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 18px;
      user-select: text;
    }
    .shw-btn-buy {
      align-self: stretch;
      background: #4ca1af;
      color: #fff;
      border: none;
      padding: 16px 0;
      border-radius: 14px;
      font-weight: 700;
      font-size: 1rem;
      letter-spacing: 0.06em;
      cursor: pointer;
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 10px 26px rgba(76, 161, 175, 0.7);
      user-select: none;
    }
    .shw-btn-buy:hover,
    .shw-btn-buy:focus {
      background: #367d85;
      outline: none;
      box-shadow: 0 14px 34px rgba(54, 125, 133, 0.95);
    }

    /* Controls container */
    .shw-controls {
      position: absolute !important;
      right: 20px !important;
      left: auto !important;
      bottom: 20px !important;
      top: auto !important;
      margin: 0 !important;
      display: flex !important;
      gap: 14px !important;
      z-index: 1000 !important;
      flex-direction: row !important;
      justify-content: flex-end !important;
    }
    .shw-control-btn {
      background: rgba(255 255 255 / 0.15);
      border: none;
      border-radius: 50%;
      width: 48px;
      height: 48px;
      color: #fff;
      font-size: 28px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
      transition: background-color 0.25s ease;
      user-select: none;
    }
    .shw-control-btn:hover,
    .shw-control-btn:focus {
      background: #4ca1af;
      color: #fff;
      outline: none;
    }

    /* Responsive adjustments */
    @media (max-width: 1024px) {
      .shw-showcase-wrapper {
        min-height: 460px;
      }
      .shw-product-card {
        width: 220px;
        padding: 20px;
      }
      .shw-product-card img {
        width: 130px;
        height: 130px;
        margin-bottom: 22px;
      }
      .shw-controls {
        bottom: 14px !important;
        right: 14px !important;
        left: auto !important;
        top: auto !important;
        gap: 10px !important;
        justify-content: flex-end !important;
      }
    }
    @media (max-width: 640px) {
      .shw-body-wrapper {
        padding: 16px;
      }
      .shw-showcase-wrapper {
        min-height: 380px;
      }
      .shw-product-card {
        width: 180px;
        padding: 18px;
      }
      .shw-product-card img {
        width: 110px;
        height: 110px;
        margin-bottom: 16px;
      }
      .shw-controls {
        bottom: 14px;
        right: 14px;
        gap: 10px;
      }
      .shw-control-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
      }
    }
    @media (max-width: 1024px) {
  .shw-product-card {
    width: 280px;
    padding: 20px;
  }
}
@media (max-width: 768px) {
  .shw-product-card {
    width: 240px;
    padding: 18px;
  }
}
@media (max-width: 480px) {
  .shw-product-card {
    width: 90vw; /* Almost full screen width on small devices */
    max-width: 280px;
    padding: 16px;
  }
}

/* kitchen container */
/* Root container with scoping */
  .kitchen-ui-root {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    color: #1f2937;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
/*    padding: 32px 24px 64px;*/
    box-sizing: border-box;
  }

  .kitchen-ui-root a {
    text-decoration: none;
    color: inherit;
  }

  /* Container Layout - full width with horizontal padding */
  .kitchen-ui-page-container {
    width: 100%;
  }

  /* Hero Section With Advanced Kitchen Image */
  .kitchen-ui-hero {
    position: relative;
/*    border-radius: 24px;*/
    overflow: hidden;
    box-shadow:
      0 25px 50px rgba(124, 58, 237, 0.3),
      inset 0 0 150px rgba(124, 58, 237, 0.2);
    margin-bottom: 48px;
    user-select: none;
  }

  .kitchen-ui-hero img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.85) saturate(1.2);
    transition: filter 0.4s ease;
  }

  .kitchen-ui-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #7c3aedcc 0%, #06b6d4cc 100%);
    mix-blend-mode: overlay;
    pointer-events: none;
  }

  .kitchen-ui-hero:hover img {
    filter: brightness(1) saturate(1.3);
  }

  /* Hero Text Overlay */
  .kitchen-ui-hero-text {
    position: absolute;
    bottom: 32px;
    left: 32px;
    color: white;
    max-width: 480px;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    z-index: 10;
  }

  .kitchen-ui-hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .kitchen-ui-hero-text p {
    font-weight: 500;
    font-size: 1.125rem;
    color: #d1d5dbcc;
  }

  /* Slider Container */
  .kitchen-ui-product-slider {
    position: relative;
  }

  .kitchen-ui-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 16px;
  }

  .kitchen-ui-slider-track::-webkit-scrollbar {
    height: 8px;
  }

  .kitchen-ui-slider-track::-webkit-scrollbar-thumb {
    background: #7c3aedcc;
    border-radius: 4px;
  }

  .kitchen-ui-slider-track::-webkit-scrollbar-track {
    background: #ebeef4;
  }

  /* Product Card */
  .kitchen-ui-product-card {
    min-width: 260px;
    background: linear-gradient(145deg, #ffffff, #f0f0f7);
    border-radius: 20px;
    box-shadow:
      8px 8px 15px #bebecf,
      -8px -8px 15px #ffffff;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    user-select: none;
    cursor: pointer;
  }

  .kitchen-ui-product-card:hover {
    transform: translateY(-10px);
    box-shadow:
      12px 12px 25px #b19bff,
      -12px -12px 25px #9cd8ff;
  }

  .kitchen-ui-product-image-container {
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Make product images 100% width */
  .kitchen-ui-product-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 10px 12px rgba(124, 58, 237, 0.5));
    transition: filter 0.3s ease;
  }

  .kitchen-ui-product-card:hover .kitchen-ui-product-image-container img {
    filter: drop-shadow(0 15px 20px rgba(124, 58, 237, 0.8));
  }

  .kitchen-ui-product-info {
    padding: 16px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .kitchen-ui-product-name {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: #3730a3;
  }

  .kitchen-ui-product-price {
    font-weight: 600;
    font-size: 1rem;
    color: #206398;
    margin-bottom: 12px;
  }

  /* Star Rating */
  .kitchen-ui-star-rating {
    color: #facc15;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
  }

  .kitchen-ui-star-rating .material-icons {
    font-size: 18px;
  }

  /* Add to Cart Button */
  .kitchen-ui-add-to-cart-btn {
    align-self: flex-start;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 14px;
    box-shadow:
      0 8px 15px rgba(124, 58, 237, 0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .kitchen-ui-add-to-cart-btn:hover,
  .kitchen-ui-add-to-cart-btn:focus {
    background: linear-gradient(135deg, #9d5df7, #25a3da);
    box-shadow:
      0 10px 20px rgba(124, 58, 237, 0.7);
    transform: translateY(-3px);
    outline: none;
  }

  .kitchen-ui-add-to-cart-btn .material-icons {
    font-size: 20px;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .kitchen-ui-hero-text h1 {
      font-size: 2.25rem;
    }

    .kitchen-ui-root {
      padding: 0;
    }

    .kitchen-ui-product-card {
      min-width: 220px;
    }
  }
  @media (max-width: 480px) {
    .kitchen-ui-hero-text h1 {
      font-size: 1.75rem;
    }
    .kitchen-ui-product-card {
      min-width: 200px;
    }
  }