@charset "UTF-8";
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    background: transparent !important;
    background-color: transparent !important;
    z-index: -2;
  }

  /* Layer-1: Full-page background image sizing */
  .layer-1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: transparent; /* Start with no background image */
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: background-image 1s ease-in-out; /* Smooth fade transition */
    }   

  /* Layer-2: Sidebar sliding in from the left */
  .layer-2 {
    position: fixed;
    top: 0;
    left: -150px; /* Start 150px off-screen to the left */
    width: 100px; /* Reduced width */
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
    border-right: 1px solid black;
    z-index: 2;
    transition: left 1s cubic-bezier(0.1, 0.2, 0.2, 1); /* Smooth slide-in */
  }

  .layer-2 .sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
  }

  .layer-2 .logo {
    width: 200px; /* Centered and sized */
  }

  /* Logo: Responsive and centered within sidebar */
  .logo {
    margin-top: 600%;
    max-width: 200%; /* Resize proportionally within the sidebar width */
    height: auto; /* Maintain aspect ratio */
    transform: rotate(-90deg); /* Rotate to vertical */
  }

  /* Main content area styling */
  .content {
    position: relative;
    z-index: 3; /* Above layer-1 and layer-2 */
    padding: 20px;
    margin-left: 200px; /* Offset to allow space for Layer-2 */
  }

  /* Header with title and menu */
  .header {
    display: flex;
    align-items: center;
    gap: 200px; /* Space between title and menu */
    margin-top: 20px;
  }

  .title {
    font-size: 2rem;
    color: black;
  }
  .menu ul {
    display: flex;
    list-style: none;
  }

  .menu-item {
    margin-right: 20px;
  }

  .login-box {
    display: inline-block;
    padding: 5px 10px;
    background-color: black;
    border-radius: 4px;
  }

  .login-box a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }

  .login-box a:hover {
    text-decoration: underline;
  }

  /* Text area below the title */
  .text-area {
    max-width: 500px;
    margin-top: 20px;
  }

  .headline {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 10px;
  }

  .content-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
  }

  /* from style.css ++++++++++++++++++++++++++++++++++++++++++++++++++++*/
  .content {
    text-align: left; /* Center-align content */
    padding-top: 0px;
  }

  /* Text area with defined width and spacing */
  .text-area {
    width: 400px; /* Set fixed width */
    margin: 0px auto 0; /* Center align with margin auto */
    margin-left: -220px;
    text-align: left; /* Left-align text within the area */
  }

  /* Headline and paragraph styling */
  .headline {
    font-size: 1.5rem;
    font-weight: 100;
    color: #888888;
    margin-bottom: 15px; /* Space below the headline */
    margin-left: -220px!important;
  }

  .content-text {
    font-size: 0.8rem;
    color: #333;
    line-height: 1.6;
  }

  /* Sidebar when active: set to 0 to align with the edge */
  .layer-2.active {
    left: 0; /* Position at the edge of the page */
  }

  /* Sidebar Content: Flexbox for dynamic vertical centering */
  .sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    height: 100%; /* Full height of sidebar */
  }
  /* Loader overlay */
  .loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white; /* Loader background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }

  /* Loader animation (simple spinning circle) */
  .loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
  }

  /* Keyframes for loader spin animation */
  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  /* Hide loader after page load */
  .hidden {
    display: none;
  }
/*//-------//----------// THUMBNAILS ON RIGHT - START//-------//----------//*/
  /* Container for thumbnails */
  .thumbnail-container {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 10; /* Above the background but below other content */
  }

  /* Styling for each thumbnail image */
  .thumbnail {
    width: 100px; /* Resized width */
    height: 100px; /* Resized height */
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Cast shadow */
    border-radius: 8px; /* Optional: rounded corners */
  }

  /* Hover effect for thumbnails */
    .thumbnail:hover {
    transform: scale(1.05); /* Slight scaling effect on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
  }
  
  /*//-------//----------//  INFO BUTTON  //----------//---------//*/

  .info-box-button {
    position: fixed;
    top: 200px;
    right: -3px;
    z-index: 1000;
    background-color: #0000006f;
    color: #fff;
    padding: 8px 40px;
    font-size: 11px;
    border-radius: 6px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s;
  }
  
  .info-box-button:hover {
    background-color: #000000;
  }
  /*//-------//----------//  INFO MODAL START  //----------//---------//*/

  .modal-content {
    padding: 20px;
    position: relative;
  }

  .close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
  }

  .product-info {
    position: relative;
    margin-top: 20px;
    color: #333;
    font-family: Arial, sans-serif;
  }

  #info-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-width: 90vw;
    height: 500px; /* 🎯 Fixed height */
    overflow-y: auto; /* Enable scroll if content is too long */
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 8px rgba(0,0,0,0.69);
    border: thick solid;
    animation: fadeIn 0.4s ease;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
  }  

  #info-modal .product-info {
    font-family: Arial, sans-serif !important; /* Ensures the font applies */
    color: #333 !important; /* Dark gray text color */
    font-size: 14px !important; /* Base font size */
    line-height: 1.6 !important; /* Line spacing */
    margin-top: 20px;
  }

  #info-modal .product-info p {
    margin: 10px 0 !important; /* Spacing between paragraphs */
  }

  #info-modal .product-info p:first-of-type {
    font-weight: bold !important; /* Emphasize the first paragraph */
  }

  #info-modal .product-info p:nth-of-type(2) {
    font-style: italic !important; /* Style the second paragraph as italic */
  }

  /* Optional: Add border at the bottom of each paragraph */
  #info-modal .product-info p {
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 5px;
  }

  /* Headers inside product-info, if any */
  #info-modal .product-info h2 {
    font-size: 18px !important;
    font-weight: bold;
    color: #222;
    margin-top: 0;
    transform: uppercase;
  }

  /*//-------//----------//  RELATED ITEMS BAR  //----------//---------//*/

  .related-items-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 70px;
    overflow: hidden;
    z-index: 1000;
    text-align: center;
    transition: height 2s ease; /* Related bar: Smooth height transition */
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.6, 1); /* Related bar: Fast then slow transition */
  }
  
  /* Title at the top of the bar */
  .related-title {
    /* background-color: rgba(0,0,0,0.43)!important; /* Opaque background with 85% opacity */
    color: rgb(208, 203, 203); /* Text color */
    padding: 25px 30px; /* Adjust padding as needed */
    border-top-left-radius: 14px; /* Rounds the top-left corner */
    border-top-right-radius: 14px; /* Rounds the top-right corner */
    display: inline-block; /* Keep background only around text */
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: normal; /* Prevent shifting the bar */
    text-align: center;
    margin: 0 auto; /* Center within parent */
    position: relative; /* Position relative to control placement */
    top: -9px; /* Adjust to move the text up */
  }
  
  .related-title::after {
    content: "";
    position: absolute;
    bottom: 10px; /* Space below title */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 10px solid rgba(15, 15, 15, 0.714); /* Triangle color */
  }

  /* Hidden thumbnails container, revealed on hover */
  .related-thumbnails {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    opacity: 0;
    transition: opacity 1s ease;
    animation-timing-function: cubic-bezier(0.1, 0.8, 0.1, 1);
  }
  
  /* Thumbnail Styling */
  .related-items-bar .thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
  }
  
  /* Hover Effect */
  .related-items-bar:hover {
    height: 180px; /* Adjust to fit title + thumbnails */
  }
  
  .related-items-bar:hover .related-thumbnails {
    opacity: 1;
  }
  
  .related-items-bar:hover .thumbnail:hover {
    transform: scale(1.05);
    animation-timing-function: cubic-bezier(0.1, 0.8, 0.1, 1);
  }

  /* On page load, raise */
  .related-items-bar.start-expanded {
    height: 180px;
  }

  /* Hover still works */
  .related-items-bar:hover {
    height: 180px;
  }

  /* Thumbnails inside */
  .related-thumbnails {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    opacity: 0;
    transition: opacity 1s ease;
  }

  .related-items-bar:hover .related-thumbnails {
    opacity: 1;
  }
  /* On page load, raise */  
  .related-items-bar.show-on-load .related-thumbnails {
    opacity: 1;
    transition: opacity 2s ease 0.3s;
  }
 
  /* ---------------------------------->  Thumbnails on right */
  .thumbnail {
  width: 120px !important;
  height: 100px !important;
  object-fit: cover;
  flex-shrink: 0;
  }

   /* ---------------------------------->  LAYERS */
  /* Fade-in animation */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }

  }
  @media screen and (max-device-width: 1024px) and (orientation: portrait), 
        screen and (max-device-height: 1024px) and (orientation: landscape) {
    .layer-4 {
      display: none !important;
    }
  }