/* .mt-25{
    margin-top:25px;
} */
.sub-heading{
    font-size: 20px;
}
/* css for bredcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    /* margin: 16px 0; */
    padding: 12px 16px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-left: 100px;
}
.breadcrumb a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #888;
    font-size: 16px;
}

.breadcrumb .current {
    color: #555;
    font-weight: 600;
}
/* css for sidebar menu */
.categories {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.categories h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin: 0;
}

.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories ul li {
    border-top: 1px solid #eee;
}

.categories ul li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

/* Icon always visible */
.toggle-icon {
    display:none;
}

/* Mobile ONLY toggle functionality */
@media (max-width: 768px) {
    .toggle-icon {
        font-size: 16px;
        transition: transform 0.3s ease; 
        display: inline;
    }
    .categories h3 {
        cursor: pointer;
    }
    #menu-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    #menu-list.expanded {
        max-height: 1000px;
    }
    .rotate {
        transform: rotate(90deg);
    }
}
/* css for internal page  */
.details-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
/* .image-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
  } */
  
  .image-item {
    flex: 1 1 calc(50% - 10px); /* Two columns with space between */
    box-sizing: border-box;
    position: relative;
  }
  
  .zoom-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintain consistent height */
    /* overflow: hidden; */
  }
  
  .zoom-wrapper img.zoom-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  
  .zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    pointer-events: none;
  }
  
.zoom-wrapper {
    position: relative;
  }
  
  .zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px !important;
    height: 50px;
    pointer-events: none; /* Allows click-through to the image */
    z-index: 5;
  }

/* Mobile: stack images vertically */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
   /* Zoom hover effect with icon */
   .zoomable {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
  }
  .zoomable .zoom-img {
    transition: transform 0.4s ease;
    width: 100%;
  }
  .zoomable:hover .zoom-img {
    transform: scale(1.1);
  }
  .zoomable::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 10px;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .zoomable:hover::after {
    opacity: 1;
  }
  /* Fullscreen modal */
  .fullscreen-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
  }
  .fullscreen-modal img {
    max-width: 90%;
    max-height: 90%;
  }
  .fullscreen-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
  }
/* Zoom Wrapper for desktop */
/* .zoom-wrapper {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

.zoom-img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.2s ease-out;
    border-radius: 8px;
} */

/* css for home cotegory products for internal css */
.custom-bullet {
    list-style: none;
    padding-left: 0;
}

.custom-bullet li {
    margin-bottom: 10px;
    font-size: 16px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.custom-bullet li i {
    margin-top: 3px;
    font-size: 18px;
}

/* Utility classes */
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
/* .road-safety{
    visibility: visible;
    max-height: 450px;
    overflow-y: auto;
}   */

/* Mobile: allow pinch-zoom */
/* @media (max-width: 768px) {
    .zoom-wrapper {
        overflow: hidden;
    }
    .zoom-img {
        width: 100%;
        height: auto;
        display: block;
        touch-action: pinch-zoom;
    }
} */

.container-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }

  .container-flex > *:first-child {
    flex: 0 0 250px;
  }

  .container-flex > section.product-detail-page {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  }

  @media (max-width: 768px) {
    .container-flex {
      flex-direction: column;
    }

    .container-flex > *:first-child,
    .container-flex > section.product-detail-page {
      width: 100%;
      flex: none;
    }
  }

  .product-summary {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .product-image {
    flex: 0 0 350px;
    background: #f1f1f1;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
  }

  .product-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
  }

  .product-info {
    flex: 1;
  }

  .product-info h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #222;
  }

  .product-info p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
  }

  .product-options select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #fff;
  }

  .btn {
    padding: 10px 20px;
    background: #d2232a;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .btn:hover {
    background: #b91b24;
  }

  .btn.red {
    background-color: #a10000;
  }

  .tabs {
    margin-top: 30px;
  }

  .tab-nav {
    list-style: none;
    display: flex;
    border-bottom: 2px solid #eee;
    padding-left: 0;
    margin-bottom: 20px;
  }

  .tab-nav li {
    padding: 12px 18px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 6px 6px 0 0;
    background-color: #f2f2f2;
    color: #444;
    transition: all 0.3s ease;
  }

  .tab-nav li.active {
    background-color: #fff;
    color: #d2232a;
    border: 2px solid #d2232a;
    border-bottom: none;
  }

  .tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
  }

  .tab-content.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .details-section .card {
    background: #fafafa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  }

  .details-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #d2232a;
  }

  .details-section ul {
    padding-left: 18px;
    margin: 0;
  }

  .details-section li {
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #ddd;
    background: #fff;
  }

  .spec-table th,
  .spec-table td {
    padding: 12px 16px;
    border: 1px solid #eee;
    text-align: left;
    font-size: 15px;
  }

  .spec-table th {
    background-color: #f6f6f6;
    color: #444;
    width: 220px;
  }
  h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    /* text-align: center; */
    color: #212529;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }

  .product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
    height: 100%;
  }

  .product-link:hover {
    transform: translateY(-6px);
  }

  .product-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
  }
  
  .subtitle {
    font-size: 16px;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  .title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-items: center;
  }
  
  .product-box {
    max-width: 240px;
    background-color: #fff;
  }
  
  .product-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
  }
  
  .model {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center !important;
  }
  
  .product-name {
    font-size: 16px;
    font-weight: 600;
    margin-top: 5px;
    color: #222;
  }

  .grid-item {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .product-link:hover .grid-item {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }

  .grid-item img {
    max-width: 170px;
    height: auto;
    margin-bottom: 20px;
  }

  .grid-item p {
    font-weight: 600;
    font-size: 0.8rem;
    color: #c25e03;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .grid-item p::after {
    content: "→";
    font-size: 0rem;
    transition: transform 0.3s ease;
  }

  .product-link:hover .grid-item p::after {
    transform: translateX(6px);
  }

  .product-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 20px;
  }
  .product-list li {
    width: 250px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    transition: box-shadow 0.3s ease;
  }
  .product-list li:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  .product-list img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
  }
  .product-list h4 {
    margin: 10px 0 5px;
    font-size: 16px;
  }
  .product-list h5 {
    margin: 0;
    font-size: 14px;
    color: #555;
  }

  @media (max-width: 992px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 576px) {
    .grid-container {
      grid-template-columns: repeat(1, 1fr);
    }
   
  }

  

  /* .icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #007bff;
  } */
  