/* ===== Base ===== */

:root {
    --color: #000;
    --colorBreadcrumbs: #909090;
    --accent: #ff7b00;
    --background: #fff;
    --link: #000;
}


* { box-sizing: border-box; }

body { 
    color: var(--color);
    font-family: Arial; 
    margin: 0; 
    position: relative; 
    padding-bottom: 100px;
    min-height: 100vh;
    background: var(--background);
}

.fa.fa-info-circle{
    font-size: 26px;
    color: var(--accent);
}
.editProductLink{
    margin: 0 auto; text-align: center; font-weight: bold;
}
.editProductLink a{
    color: var(--color);
}
.productEdit {
    position: absolute;
    right: 50px;
    top: 15px;
}
.fa-tooltip.right-fixed {
    position: absolute;
    right: 10px;
    top: 10px;
}

/* tooltip box */
.fa-tooltip.right-fixed .tooltip-content {
    position: absolute;
    top: 125%;            /* always DOWN */
    right: 0;             /* anchor to icon */
    
    width: 320px;
    max-width: min(90vw, 420px);

    background: #222;
    color: #fff;
    padding: 12px 14px;
    border-radius: 8px;

    font-size: 14px;
    line-height: 1.4;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;

    transform: translateY(5px);
    z-index: 9999;

    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* arrow */
.fa-tooltip.right-fixed .tooltip-content::after {
    content: "";
    position: absolute;
    top: -8px;
    right: 12px;   /* arrow points to icon */
    
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #222 transparent;
}

/* show */
.fa-tooltip.right-fixed:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.logoHeader img{
    width: 100%;
    max-width: 50px;
}
h1{
    font-weight: 900;
}
h2{
    /* background: #222; */
    display: inline-block;
    color: var(--color);
    font-weight: 900;
    padding: 10px;
    border-radius: 5px;
}
a {
    text-decoration: none;
    color: var(--link);
}

/* ===== Header ===== */

.headerInside{
    display: flex; 
    align-items: center; 
    max-width: 1280px;
    width: 100%;
margin: 0 auto;
padding: 0 20px;
}
header { 
    background: #222; 
    color: #fff; 
    padding: 15px; 
}

header a { 
    color: #fff; 
    text-decoration: none;
}

/* ===== Navigation ===== */
nav {
    background: #222;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    position: relative;
    width: 100%;
}

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

nav > ul {
    display: flex;
    gap: 8px;
    align-items: center;
}
.adminLink svg{
    fill:#fff;
}
.adminLink:hover svg{
    fill: var(--accent);
}
.adminLink{
    display: inline-flex;
}
nav > ul > li {
    position: relative;
}
nav > ul > li.search {
    margin-left: auto;
    display: flex;
    gap: 20px;
    align-items: center;
}
nav > ul > li.search form{
    display: flex; gap: 10px; align-items: center;
}
nav > ul > li.search form button{
    border: none;
    background: transparent;
    padding: 11px 10px 5px 10px;
}

nav > ul > li.search svg{
    height: 20px;
    width: 20px;
    fill: #fff;
}
nav > ul > li.search form button:hover svg{
       fill: var(--accent);
    cursor: pointer;
    }
.searchInput{
    padding: 10px; background: #222; border: 1px solid #909090; color: #fff;
    border-radius: 5px;
}
nav > ul > li > a {
    display: block;
    padding: 16px 14px;
    text-decoration: none;
    color: #eee;
    font-weight: 500;
    position: relative;
}

/* Accent underline */
nav > ul > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

nav > ul > li:hover > a::after,
nav > ul > li.current > a::after {
    transform: scaleX(1);
    background: var(--accent);
}
nav > ul > li:hover > a::after{
    transform: scaleX(1);
    background: #fff;
}

nav > ul > li:hover > a,
nav > ul > li.current > a {
    color: #fff;
}

/* ===== Dropdown ===== */
nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #111;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    padding: 8px 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 100;
}

nav li:hover > ul,
nav li.open > ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown items */
nav ul ul li a {
    padding: 12px 16px;
    color: #ccc;
    font-size: 15px;
    text-decoration: none;
    display: block;
    border-radius: 6px;
    margin: 2px 6px;
}

nav ul ul li a:hover {
    background: #222;
    color: #fff;
}

/* ===== Breadcrumbs ===== */
.breadcrumbsHolder{
    display: inline-block;
    /* background: #e0e0e0; */
    padding: 5px 10px;
    border-radius: 5px;
}
.breadcrumbs {
    font-size: 13px;
    color: #222;
    display: inline-block;
}

.breadcrumbs span,
.breadcrumbs a {
    color: var(--colorBreadcrumbs);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 6px;
}

.breadcrumbs .current {
    color: #eee;
    font-weight: 500;
}

/* ===== Hamburger Button ===== */
#nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    margin-left: auto;
    position: absolute;
    right: 10px;
    top: 25px;
}

/* ===== Mobile Styles ===== */
@media (max-width: 999px) {
    nav > ul > li{
        text-align: center;
    }
}
@media (max-width: 768px) {

nav > ul > li.search{
    padding: 0 0 0 20px;
    margin: 15px 0 20px 0;

}
    nav > ul > li.search form {
    display: flex;
    gap: 10px;
    width: 100%;
}
.searchInput {
    width: 100%;
}
nav > ul > li.search form button {
    margin-left: auto;
}

    .headerInside{display: block}
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    #nav-toggle {
        display: block;
    }

    nav > ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: #222;
    }

    nav > ul > li {
        width: 100%;
    }

    nav > ul > li > a {
        padding: 14px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Submenus for mobile */
    nav ul ul {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: #111;
        border-radius: 0;
        padding: 0;
        display: none;
    }

    nav li.open > ul {
        display: block;
        background: #444444;
    }

    nav ul ul li a {
        padding: 12px 20px;
        margin: 0;
        border-radius: 0;
        color: #fff;
    }

    nav ul ul li a:hover {
        background: #222;
        color: var(--accent);
    }
}
.oneThird{
    max-width: 33%;
}
.oneThird .product-img img{
    object-fit: contain;
}
.noLink{
    pointer-events: none;
}
.contact{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px ;
}
.contact{
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.contact a:hover{
    text-decoration: underline;
    color: var(--accent);
}



main{
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
    }


.product-category{
    padding: 5px 20px 0 20px;
    font-size: 12px;
}

.product-cell .product-category a:hover{
    color: var(--accent);
}

.featured-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin: 40px auto;
}

.product-cell {
    position: relative;
    background: #fff;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px; /* fixed cell height */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-cell.nema{
    background: #ff0000;
}

.product-img {
    height: 350px; /* fixed image container */
    overflow: hidden;
    border-radius: 5px;
}

.product-img img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
}

.product-title {
    margin: 10px auto 0 auto;
    font-weight: bold;
    text-align: center;
    padding: 10px 5px;
    background: #222;
    color: var(--accent);
    border-radius: 5px;
    max-width: 90%;
}
.product-cell:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 11;
}
.product-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

/* Big image stays responsive */
.big-image {
    width: 100%;       /* full width on small screens */
    max-width: 500px;  /* original size on desktop */
    height: auto;
    margin-bottom: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
}

/* Thumbnails container scrollable on small screens */
.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;      /* horizontal scroll if needed */
    flex-wrap: nowrap;     /* prevent wrapping */
    justify-content: flex-start;
    padding-bottom: 5px;
}

/* Hide scrollbar for Webkit browsers */
.thumbnails::-webkit-scrollbar {
    display: none;
}

/* Thumbnails */
.thumbnails .thumb {
    width: 60px;           /* smaller on mobile */
    height: 60px;
    flex: 0 0 auto;        /* prevent shrinking */
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: 0.2s;
}

.thumbnails .thumb:hover {
    border-color: #333;
    /* transform: scale(1.05); */
}

/* Optional: selected thumbnail highlight */
.thumbnails .thumb.selected {
    border: 2px solid #333;
}
.shortDescription{
    color: var(--color);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.7;
}
.shortDescription div div{
    /* margin-bottom: 10px; */
}
.bigDescription{
    font-weight: 400;
}
.customDescription{
    background: #e0e0e0; padding: 10px; border-radius: 5px;
}
footer{
    position: absolute;
    bottom: 0;
    width: 100%;
}
.homePageText{
    
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
@media(max-width:1200px){
    .fa-tooltip.right-fixed{
        display: none;
    }
.featured-products{
    display: flex;
    flex-direction: column;
}
.product-img img{
    object-fit: contain;
}

}

@media(max-width: 768px){
    .oneThird{
    max-width: 100%;
}
    .shortDescription{
    font-weight: 700;
    font-size: 16px;
}

}
@media(max-width: 600px){
    .product-gallery {
        margin-bottom: 15px;
    }

    .big-image {
        max-width: 100%;   /* full width */
    }

    .thumbnails .thumb {
        width: 50px;
        height: 50px;
    }

    .slider img {
        height: 200px;
    }
    .product-cell {
        height: auto; /* allow auto height on small screens */
    }
}


.productHolder{
      display: flex;
      align-items: flex-start;
      gap: 20px;
}
    .gallery-wrapper {
      width: 100%;
      max-width: 60%;
      /* margin: auto; */
      background: #fff;
      padding: 20px;
      border-radius: 6px;
      /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
.shortDescription{
        width: 40%;
    }
    .gallery-main img {
      width: auto;
      display: block;
      max-height: 400px;
      object-fit: cover;
      margin: 0 auto;
    }

    /* Arrows */
    .slick-prev,
    .slick-next {
      position: absolute;
      top: calc(50% + 44px);
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(0,0,0,0.6);
      color: #fff;
      border: none;
      font-size: 58px;
      width: 44px;
      height: 44px;
      cursor: pointer;
      border-radius: 50%;
    }

    .slick-prev { left: 10px; }
    .slick-next { right: 10px; }

    /* Thumbnails */
    .gallery-thumbs {
      margin: 15px auto 15px auto;
      max-width: 300px;
    }

    
    .gallery-thumbs img {
      width: 100%;
      cursor: pointer;
      opacity: 0.6;
      padding: 3px;
    }

    .gallery-thumbs .slick-current img {
      opacity: 1;
      border: 2px solid var(--accent);
    }
    /* Space BETWEEN thumbnails */
.gallery-thumbs .slick-slide {
  padding: 0 6px; /* horizontal spacing */
}

/* Remove outer overflow caused by padding */
.gallery-thumbs .slick-list {
  margin: 0 -6px;
}

.slick-prev, .slick-prev, .slick-next, .slick-next,
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus{
    background: transparent;
}

.slick-prev::before, .slick-next::before{
    color: var(--accent);
    font-size: 44px;
}
.lb-nav a.lb-next{
    background: url("/img/next.svg");
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) 48%;
}
.lb-nav a.lb-prev{
    background: url("/img/prev.svg");
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: 10px 48%;
}
@media (max-width: 768px) {
.productHolder{
        display: block;
    }
    .gallery-wrapper {
      width: 100%;
      max-width: 100%;
      margin: auto;
      background: #fff;
      padding: 20px;
      border-radius: 6px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .shortDescription{
        width: 100%;
    }
.gallery-main img {
    width: 100%;
    max-width: 100%;
    max-height: unset;
}
}

    .slider {
    position: relative;
    overflow: hidden;
}

.slider .slide {
    display: block;
    position: relative;
    text-decoration: none;
    color: #fff;
}

.slider .slide img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.slider .slide-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;      /* adjust size */
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* makes text readable on images */
    width: 90%;             /* optional, for multiline titles */
}
    .slick-prev:before, .slick-next:before{
        color: var(--accent);
        font-size: 44px;
        font-family: 'slick';
    }
    .slick-prev:before{

    }
    .slick-next:before{
        content: '→';
    }
.slider {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    position: relative;
}

.slider img {
    width: 100%;
    height: 400px;        /* fixed height */
    object-fit: cover;    /* ensures image covers the container */
}

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
    top: 50% !important;
    transform: translateY(-50%);
    background: transparent;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}


.slick-prev { left: 10px; }
.slick-next { right: 10px; }

.litequest-slogan{
    margin: 0 auto 40px auto;
    font-size: 36px;
    font-weight: 900;
    text-align: center;
}
.slider-wrapper {
  position: relative;
}

.slogan-overlay {
  position: absolute;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  z-index: 20;

  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */

  pointer-events: none;
  text-align: center;
}

#slogan-text {
  color: #fff;
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 3px rgba(0,0,0,0.8);
  /* white-space: nowrap; */
  background: rgba(0,0,0,0.3);
  padding: 10px 20px;
  border-radius: 5px;
  max-width: 75%;
}
@media (max-width: 1000px) {
#slogan-text {
 font-size: 1.6rem;
}
}


.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #222;
    border: 1px solid #606060;
    z-index: 1000;
    display: none; /* Hidden by default */
    border-radius: 5px;
    height: 200px;
    overflow: auto;
    overflow-anchor: none;
}
.search-results-dropdown a {
    display: flex;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #606060;
    font-size: 12px;
}
.search-results-dropdown a:hover { background: #333; }

.ajax-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    gap: 12px; /* Space between image and text */
}

.ajax-item:hover {
    background-color: #f9f9f9;
}

/* Style the thumbnail */
.ajax-search-img {
    width: 40px;
    height: 40px;
    object-fit: cover; /* Keeps aspect ratio and crops to square */
    border-radius: 4px;
    border: 1px solid #ddd;
    flex-shrink: 0; /* Prevents the image from being squished */
}

.ajax-item span {
    font-size: 14px;
    font-weight: 500;
}
.slick-track{
    display: flex;
    align-items: center;
}