/* Custom LEGO Colors */
:root {
  --lego-red: #DD1E26;
  --lego-blue: #0055A5;
  --lego-yellow: #FFCC00;
  --bs-link-color-rgb: 0, 85, 165;
}
/* Custom Logo Styling */
body{
  overflow-x: hidden;
}
.lego-logo-text {
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--lego-red);
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.05);
  font-size: 1.5rem;
}
/* Navigation Links Styling */
.navbar-nav .nav-link {
  color: #495057;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  transition: background-color 0.2s, color 0.2s;
}
.navbar-nav .nav-link:hover {
  /* color: var(--lego-blue); */
  color: rgb(222, 97, 97);
  background-color: #f8d7da;
}
/* Cart Counter Badge */
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
  background-color: var(--lego-red);
  font-size: 0.75rem;
  padding: 0.3em 0.5em;
  border-radius: 50%;
}
/* Utility Icon Styling */
.utility-icon-btn {
  color: #6c757d;
  transition: color 0.2s, transform 0.2s;
  padding: 0.5rem;
}
.utility-icon-btn:hover {
  color: #343a40;
  transform: scale(1.1);
}
/* Announcement Bar Scrolling Effect */
.announcement-bar {
  background-color: var(--lego-red);
  color: white;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-text {
  display: inline-block;
  padding-left: 100%; /* Start the text off-screen */
  animation: scroll-left 20s linear infinite;
}
@keyframes scroll-left {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}
/* Custom Card Styling for the 4 Main Sections */
.main-section-card {
  min-height: 180px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.main-section-card:hover {
  border-color: var(--lego-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.section-icon {
  font-size: 3rem;
  line-height: 1;
}



:root {
  --bc-blue: #0055a6;
  --bc-red: #e50011;
}

body {
  background-color: #f7f7f9;
}

/* Custom style for the OTP input boxes */
.otp-input {
  width: 3rem; 
  height: 3rem; 
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  outline: none;
  /* Make it a standard Bootstrap form control */
  display: inline-block;
  padding: 0;
  margin: 0 0.125rem; /* Small spacing between boxes */
}
.otp-input:focus {
  border-color: var(--bc-blue);
  box-shadow: 0 0 0 0.25rem rgba(0, 85, 166, 0.25);
}

/* Hide the default spinner for number inputs */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.center-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


.product-card {
    position: relative; 
    overflow: hidden; 
}

/* Style for the Image Slider (Optional: for dual image transition/hover effect) */
.image-slider {
    position: relative;
    height: 250px; /* Set a fixed height for consistency */
    overflow: hidden;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Hide the second image initially */
.image-slider img:last-child {
    opacity: 0;
}

/* Show the second image on card hover (for the image flip effect) */
.product-card:hover .image-slider img:first-child {
    opacity: 0;
}
.product-card:hover .image-slider img:last-child {
    opacity: 1;
}

/* Product Actions (.product-more) Styling */
.product-more {
    /* Position the action box over the image/top area */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    
    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    
    /* Layout: Centering the icon bar */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Optional: Background overlay */
    background-color: rgba(255, 255, 255, 0.75); 
    
    /* Smooth transition */
    transition: all 0.3s ease-in-out; 
    z-index: 10; 
}

/* Show actions on Product Card Hover (The core functionality) */
.product-card:hover .product-more {
    opacity: 1;
    visibility: visible;
}

/* Styling the individual navigation icons */
.product-more .nav-link {
    background-color: white;
    border-radius: 50%;
    margin: 0 5px;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}

.product-more .nav-link:hover {
    background-color: #f8f9fa1e; /* Light hover effect on the icon */
}

.btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 9;
}

.product-description-scroll::-webkit-scrollbar {
        width: 4px;
    }
    .product-description-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    .product-description-scroll::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }
    .product-description-scroll::-webkit-scrollbar-thumb:hover {
        background: #999;
    }


