@import url(https://fonts.bunny.net/css?family=lato:400,700,900|quicksand:400,500,600,700);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-style: normal;
  font-weight: 400;
  background: #0a0a0a;
  color: #f3f3f3;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.light-mode {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  line-height: 24px;
  font-style: normal;
  font-weight: 400;
  background: #f3f3f3;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
/*h1, h2, h3, h4, h5, h6,
.font-heading, .display-1, .display-2, .heading-sm-1 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}*/

/* Sizes */
h1 { font-size: 48px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, #ball, .ptr-prel-content, .ph-caption-title-ghost, .ph-caption-subtitle, .ph-caption-description, .ph-categories, .ph-share-trigger, .tt-scroll-down, .tt-main-menu-list, .tt-m-menu-toggle-btn-text, .tt-ol-menu-toggle-btn-text, .tt-ol-menu-list, .tt-ol-menu-ghost, .tt-ol-menu-social, .tt-heading, .tt-ps-caption-category, .tt-ps-nav-pagination, .tt-pc-navigation, .tt-cc-pagination, .pli-counter, .ttgr-cat-trigger-wrap, .ttgr-cat-list, .pi-item-title-link-inner, .pi-item-title-link::before, .portfolio-interactive-ghost, .project-info-list, .tt-pn-link, .tt-pn-subtitle, .tt-pagination, .tt-np-ghost, .tt-bp-nav-text, .tt-scrolling-text, .tt-scrolling-btn, #blog-list.bli-compact .bli-info::before, .footer-social-text {
    font-family: 'Syne', sans-serif;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  contain: layout paint;
  will-change: transform;
}

/* BACKGROUND (Swiper) */
.bg-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.bg-swiper .swiper-slide img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.5);
  transform: translateZ(0);
  will-change: transform;
}

/* TEXT */
.hero-text {
  position: relative;
  text-align: center;
  z-index: 2;
  margin-top: 60px;
  padding: 0 1rem;
}
.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-text p {
  font-size: 1.2rem;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto;
  text-transform: uppercase;
}

.hero-text h3 {
  font-size: 1rem;
  color: #ddd;
  text-transform: uppercase;
  max-width: 800px;
}

body.light-mode .hero-text h1 {
  color: #043915;
}

body.light-mode .hero-text p {
  color: #043915;
}

body.light-mode .hero-text h3 {
  color: #043915;
}

/* PRODUCT SLIDER */
.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: auto;
  z-index: 3;
  padding: 0 clamp(60px, 10vw, 90px);
  contain: layout paint;
}
.product-slider {
  display: flex;
  will-change: transform;
}
.product {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 15px;
  box-sizing: border-box;
}
.product-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  /* ❌ reduced blur intensity for mobile */
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  display: block;
}
.product-info {
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0 0 20px 20px;
  text-align: center;
}
.product-info h3 {
  font-size: 0.85rem;
  margin-bottom: 5px;
}
.product-info .price {
  font-weight: bold;
  margin-bottom: 8px;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  font-size: 2rem;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  z-index: 10;
  transition: background 0.3s ease;
  background: linear-gradient(90deg, #043915, #4c763b);
  touch-action: manipulation;
}
.arrow:hover {
  background: rgba(0, 0, 0, 0.4);
}
.arrow-left { left: clamp(5px, 2vw, 30px); }
.arrow-right { right: clamp(5px, 2vw, 30px); }

/* Tablet */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1rem; max-width: 90%; }
  .product { flex: 0 0 33.33%; max-width: 33.33%; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    height: 100dvh;
    padding: 60px 0 40px;
  }
  .hero-text {
    margin-top: 120px;
  }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 0.95rem; }

  .slider-wrapper {
    padding: 0 50px;
  }

  .product {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 12px;
  }

  .product-card {
    backdrop-filter: none; /* 🚀 major lag fix */
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .product-card img {
    height: 220px;
    object-fit: cover;
  }

  .arrow {
    font-size: 1.4rem;
    padding: 8px 12px;
  }
  .arrow-left { left: 5px; }
  .arrow-right { right: 5px; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero { padding-top: 70px; }
  .hero-text h1 { font-size: 1.6rem; }
  .hero-text p { font-size: 0.9rem; }

  .product-card img {
    height: 220px;
    object-fit: cover;
  }

  .arrow {
    font-size: 1.2rem;
    padding: 5px;
  }
}





/* ------------------------------------------------------------- *
 * Header
/* ------------------------------------------------------------- */

#tt-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 999;
    pointer-events: none;
}

/* header position fixed */
#tt-header.tt-header-fixed {
    position: fixed; 
}

/* header inner */
.tt-header-inner {
    width: 100%;
    display: flex;
    padding-top: 40px;
    align-items: center;
}
@media (max-width: 1024px) {
    .tt-header-inner {
        padding-top: 20px;
    }
}

body:not(.tt-boxed) .tt-header-inner,
.tt-header-inner:not(.tt-wrap) {
    padding-left: 3.5%;
    padding-right: 3.5%;
}

/* header columns */
.tt-header-col {
    display: flex;
    align-items: center;
}
.tt-header-col:first-child {
    margin-right: auto;
}


/* Header logo 
=============== */
.tt-logo {
    position: absolute;
    top: 40px;
    margin-right: auto;
    line-height: 1;
    pointer-events: initial;
    z-index: 9;
}
.tt-logo a {
    display: inline-block;
    font-size: 21px;
    color: #FFF;
}
.tt-logo img {
    max-height: 48px; /* You may need to change the img height to match your logo type! */
}

.tt-logo-dark{
    display: none;
}


/* Logo for small screens */
@media (max-width: 1024px) {
    .tt-logo {
        top: 20px;
    }
    .tt-logo img {
        max-height: 42px; /* You may need to change the img height to match your logo type! */
    }
}


/* ------------------------------------------------------------- *
 * Classic menu
/* ------------------------------------------------------------- */

/* Classic menu (desktop)
========================== */
@media (min-width: 1025px) {
    .tt-main-menu {
        pointer-events: initial;
    }
    .tt-main-menu-list {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 0; /* inline list cap fix */
    }
    .tt-main-menu-list > li {
        display: inline-block;
        font-size: inherit; /* inline list cap fix */
        padding: 0 20px;
        transition: opacity 0.2s;
    }
    .tt-main-menu-list > li:first-child {
        margin-left: 0;
        padding-left: 0;
    }
    .tt-main-menu-list > li:last-child {
        margin-right: 0;
        padding-right: 0;
    }
    .tt-main-menu-list > li > a,
    .tt-main-menu-list > li > .tt-submenu-trigger > a {
        display: block;
        padding: 20px 5px;
        font-size: 15px;
        font-weight: 500;
        color: #FFF;
        transition: color 0.3s, opacity 0.3s;
    }
    
    /* Main menu hover */
    .tt-main-menu-list.tt-mm-hover > li > a,
    .tt-main-menu-list.tt-mm-hover > li > .tt-submenu-trigger > a {
        opacity: .6;
    }
    .tt-main-menu-list.tt-mm-hover > li > a:hover,
    .tt-main-menu-list.tt-mm-hover > li > .tt-submenu-trigger > a:hover,
    .tt-main-menu-list.tt-mm-hover > li.active > a,
    .tt-main-menu-list.tt-mm-hover > li.active > .tt-submenu-trigger > a,
    .tt-main-menu-list.tt-mm-hover > li.tt-submenu-open > .tt-submenu-trigger > a {
        opacity: 1;
        color: #1367ef;
    }


    /* Submenu 
    ============ */
    .tt-submenu-wrap {
        position: relative;
    }

    .tt-submenu {
        position: absolute;
        display: block !important;
        top: 100%;
        left: 0;
        width: 200px;
        background-color: #FFF;
        text-align: left;
        visibility: hidden;
        opacity: 0;
        z-index: 99999;
        border-radius: 3px;
        transform: translate3d(0, 10px, 0);
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    }

    /* Open submenu on hover */
    .tt-submenu-wrap.tt-submenu-open > .tt-submenu {
        visibility: visible;
        opacity: 1;
        transform: translate3d(0, 0, 0);
        transition-delay: 0.1s;
    }

    /* submenu links */
    .tt-submenu-list {
        margin: 0;
        padding: 15px 0;
        list-style: none;
    }
    .tt-submenu-list li {
        width: 100%;
    }
    .tt-submenu-list li:first-child {
    }
    .tt-submenu-list li:last-child {
    }
    .tt-submenu-list li a {
        position: relative;
        display: block;
        padding: 8px 25px 8px 20px;
        text-decoration: none;
        font-size: 15px;
        font-weight: normal;
        font-weight: 400;
        line-height: 1.4;
        color: #111;
        transition: all 0.2s ease-in-out;
    }
    .tt-submenu-list > li a:hover, 
    .tt-submenu-list > li > .tt-submenu-trigger:hover a, 
    .tt-submenu-list > li.active > a, 
    .tt-submenu-list > li.active > .tt-submenu-trigger a {
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* Set submenu position to right on last menu list element */
    .tt-main-menu-list > li:last-child > .tt-submenu {
        left: auto;
        right: 0;
    }

    /* Submenu toggle */
    .tt-m-caret {
        display: none;
    }

    /* Sub-submenu */
    .tt-submenu .tt-submenu-wrap > .tt-submenu { 
        left: 100%;
        right: auto;
        margin-top: -50px;
        margin-left: 0;
    }

    /* Caret (requires FontAwesome: https://fontawesome.com/) */
    .tt-submenu-trigger > a::after {
        margin-left: 7px;
        font-size: 9px;
        line-height: 0;

        font-family: "Font Awesome 5 Free";
        content: "\f063";
        font-weight: 900;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
    }

    /* Caret in sub-submenus */
    .tt-submenu-wrap .tt-submenu-wrap .tt-submenu-trigger > a::after {
        position: absolute;
        right: 10px;
        top: 50%;
        font-size: 11px;
        transform: translate3d(0, -50%, 0) rotate(-90deg);
    }

    /* Hide ".tt-submenu-trigger-m" on desktop */
    .tt-submenu-trigger .tt-submenu-trigger-m {
        display: none;
    }


    /* Submenu styles 
    ================== */
    /* Submenu dark style */
    .tt-submenu-dark .tt-submenu {
        background-color: #212121;
        color: #a9a9a9;
    }
    .tt-submenu-dark .tt-submenu .tt-submenu-list li a {
        color: #a9a9a9;
    }
    .tt-submenu-dark .tt-submenu .tt-submenu-list > li a:hover, 
    .tt-submenu-dark .tt-submenu .tt-submenu-list > li > .tt-submenu-trigger:hover a, 
    .tt-submenu-dark .tt-submenu .tt-submenu-list > li.active > a, 
    .tt-submenu-dark .tt-submenu .tt-submenu-list > li.active > .tt-submenu-trigger a {
        color: #FFF;
        background-color: transparent;
    }
}


/* Mobile menu (for classic menu) 
================================== */
@media (min-width: 1025px) {
    #tt-m-menu-toggle-btn-wrap { /* Hide on desktop */
        display: none;
    }
}

.tt-ol-submenu-caret::after {
    font-family: "Font Awesome 5 Free";
    content: "\f063";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    transition: all 0.2s 
ease-in-out;
}

/* Show mobile menu on small screens only */
@media (max-width: 1024px) {
    .tt-main-menu {
        pointer-events: initial;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--tt-main-bg-color);
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
    }
    .tt-main-menu-holder {
        position: relative;
        height: 100%;
        width: calc(100% + 17px);
        overflow-y: scroll;
        z-index: 2;
    }
    body.is-mobile .tt-main-menu-holder {
        padding-right: 17px;
    }
    .tt-main-menu-inner {
        display: table;
        width: 100%;
        height: 100%;
        padding: 20% 7%;
    }
    .tt-main-menu-content {
        height: 100%;
        display: table-cell;
        vertical-align: middle;
    }

    /* Mobile menu list */
    .tt-main-menu-list {
        display: inline-block;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .tt-main-menu-list > li {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .tt-main-menu-list > li:first-child {
        margin-top: 0;
    }
    .tt-main-menu-list > li:last-child {
        margin-bottom: 0;
    }
    .tt-main-menu-list > li a {
        position: relative;
        display: inline-block;
        font-size: 34px;
        font-weight: 700;
        line-height: 1.2;
        color: #818181;
    }
    @media (max-width: 767px) {
        .tt-main-menu-inner {
            padding-top: 35%;
            padding-bottom: 35%;
        }
        .tt-main-menu-list > li a {
            font-size: 34px;
        }
    }

    /* Mobile menu list active (master parent) */
    .tt-main-menu-list > li.active > a,
    .tt-main-menu-list > li.active > .tt-submenu-trigger a,
    .tt-main-menu-list > li > .tt-submenu-trigger.tt-m-submenu-open a,
    .tt-main-menu-list > li.active > .tt-submenu-trigger .tt-m-caret {
        color: #043915;
    }
    .tt-main-menu-list > li.active > a,
    .tt-main-menu-list > li.active > .tt-submenu-trigger a,
    .tt-main-menu-list > li > .tt-submenu-trigger.tt-m-submenu-open a {
        transform: skew(-15deg, 0deg);
    }

    /* Mobile submenu */
    .tt-submenu-wrap {
        position: relative;
    }
    .tt-submenu-trigger {
        position: relative;
        display: inline-block;
    }

    .tt-submenu-trigger > a {
        position: relative;
        z-index: 1;
    }
    .tt-submenu-trigger .tt-submenu-trigger-m {
        position: absolute;
        display: block;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2;
        cursor: pointer;
    }

    .tt-submenu {
        display: none;
        position: relative;
        top: auto;
        left: 0 !important;
        min-width: 100%;
        background-color: transparent;
        margin-top: 15px;
        margin-bottom: 15px;
        color: #a9a9a9;
    }

    .tt-submenu-list {
        margin: 0 0 0 20px;
        padding: 0;
        list-style: none;
    }
    .tt-submenu-list .tt-submenu {
        margin-top: 10px;
    }
    .tt-submenu-list > li {
    }
    .tt-submenu-list > li a {
        display: inline-block;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 18px;
        font-weight: 500;
        color: #AAA;
        -webkit-text-stroke: 0;
    }

    /* Mobile submenu list hover/active */
    .tt-submenu-list > li a:hover,
    .tt-submenu-list > li > .tt-submenu-trigger:hover a,
    .tt-submenu-list > li > .tt-submenu-trigger:hover .tt-m-caret,
    .tt-submenu-list > li > .tt-submenu-trigger.tt-m-submenu-open a,
    .tt-submenu-list > li > .tt-submenu-trigger.tt-m-submenu-open .tt-m-caret,
    .tt-submenu-list > li.active > a,
    .tt-submenu-list > li.active > .tt-submenu-trigger a,
    .tt-submenu-list > li.active > .tt-submenu-trigger .tt-m-caret {
        color: #1367ef;
    }

    /* Mobile submenu caret (requires FontAwesome: https://fontawesome.com/) */
    .tt-m-caret {
        position: absolute;
        top: 55%;
        right: -40px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #818181;
        cursor: pointer;
        z-index: 9;
        border-radius: 100%;
        transform: translate3d(0, -50%, 0);
    }
    .tt-m-caret::after {
        font-family: "Font Awesome 5 Free";
        content: "\f063";
        font-weight: 900;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        transition: all 0.2s ease-in-out;
    }
    .tt-submenu-trigger.tt-m-submenu-open .tt-m-caret::after {
        transform: rotate(180deg);
    }

    /* Mobile sub-submenu caret */
    .tt-submenu-list > li > .tt-submenu-trigger .tt-m-caret {
        color: #8a8a8a;
    }

    /* Mobile menu toggle button */
    #tt-m-menu-toggle-btn-wrap {
        position: relative;
        display: flex;
        align-items: center;
        pointer-events: initial;
        cursor: pointer;
        z-index: 9;
    }
    .tt-m-menu-toggle-btn-holder {
        float: left;
    }

    .tt-m-menu-toggle-btn {
        position: relative;
        display: block;
        width: 50px;
        height: 50px;
    }
    .tt-m-menu-toggle-btn span {
        position: absolute;
        display: block;
        top: 52%;
        left: 50%;
        height: 2px;
        width: 24px;
        background-color: transparent;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease-in-out;
    }
    .tt-m-menu-toggle-btn span::before,
    .tt-m-menu-toggle-btn span::after {
        position: absolute;
        display: block;
        content: '';
        height: 2px;
        width: 24px;
        background-color: #FFF;
        transition: all 0.3s ease-in-out;
    }
    .tt-m-menu-toggle-btn span::before {
        top: -4px;
        width: 24px;
    }
    .tt-m-menu-toggle-btn span::after {
        top: auto;
        bottom: -4px;
        width: 18px;
    }

    /* Toggle button text */
    .tt-m-menu-toggle-btn-text {
        float: left;
        padding-right: 5px;
        overflow: hidden;
        text-align: right;
        font-size: 16px;
        color: #FFF;
    }
    body.tt-m-menu-open .tt-m-menu-toggle-btn-text .tt-m-menu-text-menu {
        display: none;
    }

    /* Toggle button close */
    body.tt-m-menu-open .tt-m-menu-toggle-btn span {
        width: 20px;
        background-color: transparent;
    }
    body.tt-m-menu-open .tt-m-menu-toggle-btn span::before {
        top: 0;
        width: 20px;
        transform: rotate(45deg);
    }
    body.tt-m-menu-open .tt-m-menu-toggle-btn span::after {
        bottom: 0;
        width: 20px;
        transform: rotate(-45deg);
    }

    .tt-m-menu-toggle-btn-text .tt-m-menu-text-close {
        display: none;
    }
    body.tt-m-menu-open .tt-m-menu-toggle-btn-text .tt-m-menu-text-close {
        display: block;
    }

    /* Disable menu toggle button click until the animations last */
    body.tt-m-menu-toggle-no-click #tt-m-menu-toggle-btn-wrap {
        pointer-events: none;
    }

    /* Align mobile menu to center */
    .tt-main-menu.tt-m-menu-center .tt-main-menu-content {
        text-align: center;
    }
    .tt-main-menu.tt-m-menu-center .tt-submenu-list {
        margin: 0;
    }
}


/* ------------------------------------------------------------- *
 * Overlay menu 
/* ------------------------------------------------------------- */

/* Overlay menu 
================ */
.tt-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* stays on top */
    background-color: #0d1117; /* fully dark */
    pointer-events: auto; /* ensure clicks are possible */
}


.tt-ol-menu-ghost {
    position: absolute;
    left: 0;
    bottom: 5%;
    font-size: 25.5vw;
    font-weight: bold;
    font-weight: 600;
    color: #FFF;
    line-height: .7;
    opacity: .07;
    z-index: -1;
}

.tt-ol-menu-holder {
    position: relative;
    height: 100%;
    width: calc(100% + 17px);
    padding-right: 17px;
    overflow-y: scroll;
    z-index: 2;
}
.tt-ol-menu-inner {
    display: table;
    width: 100%;
    height: 100%;
    padding-left: 0;
    padding-right: 0;
}
.tt-ol-menu-content {
    position: relative;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    padding: 120px 140px 120px 5%;
}
@media (max-width: 767px) {
    .tt-ol-menu-content {
        padding-top: 40%;
        padding-bottom: 35%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Disable page scroll if overlay menu is open */
body:not(.tt-smooth-scroll).tt-ol-menu-open {
    overflow-y: hidden;
}

/* Hide smooth scrollbar if overlay menu is open */
body.tt-smooth-scroll.tt-ol-menu-open .scrollbar-track {
    display: none !important;
}

/* Overlay menu list */
.tt-ol-menu-list {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tt-ol-menu-list > li {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 50px;
}
@media (max-width: 767px) {
    .tt-ol-menu-list > li {
        margin-top: 15px;
        margin-bottom: 15px;
        margin-right: 0;
    }
}
.tt-ol-menu-list > li:first-child {
    margin-top: 0;
}
.tt-ol-menu-list > li:last-child {
    margin-bottom: 0;
}

/* Overlay menu list item counter */
@media (min-width: 992px) {
    .tt-overlay-menu.tt-ol-menu-count .tt-ol-menu-list {
        counter-reset: ol-menu-list-counter;
    }
    .tt-overlay-menu.tt-ol-menu-count .tt-ol-menu-list > li::before {
        position: absolute;
        counter-increment: ol-menu-list-counter;
        content: "" counter(ol-menu-list-counter, decimal-leading-zero);
        top: 5px;
        left: -30px;
        line-height: 1;
        font-size: 14px;
        font-weight: normal;
        color: #FFF;
        opacity: 0.4;
    }
}

/* Overlay menu list links (master parent) */
.tt-ol-menu-list > li > a,
.tt-ol-menu-list > li > .tt-ol-submenu-trigger > a {
    position: relative;
    display: inline-block;
    font-size: clamp(34px, 4vw, 68px);
    font-weight: bold;
    font-weight: 700;
    line-height: 1.2;
    color: #f3f3f3;
    transition: color 0.2s, transform 0.2s ease-in-out;
}

body.light-mode .tt-ol-menu-list > li > a,
.tt-ol-menu-list > li > .tt-ol-submenu-trigger > a {
    position: relative;
    display: inline-block;
    font-size: clamp(34px, 4vw, 68px);
    font-weight: bold;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    transition: color 0.2s, transform 0.2s ease-in-out;
}

/* Overlay menu list hover/active (master parent). */
.tt-ol-menu-list > li.active > a,
.tt-ol-menu-list > li.active > .tt-ol-submenu-trigger > a,
.tt-ol-menu-list > li.active > .tt-ol-submenu-trigger .tt-ol-submenu-caret,
body:not(.is-mobile) .tt-ol-menu-list > li > a:hover,
body:not(.is-mobile) .tt-ol-menu-list > li > .tt-ol-submenu-trigger:hover > a,
body:not(.is-mobile) .tt-ol-menu-list > li > .tt-ol-submenu-trigger:hover .tt-ol-submenu-caret,
.tt-ol-menu-list > li > .tt-ol-submenu-trigger.tt-ol-submenu-open > a,
.tt-ol-menu-list > li > .tt-ol-submenu-trigger.tt-ol-submenu-open .tt-ol-submenu-caret {
    color: #043915;
}
.tt-ol-menu-list > li.active > a,
.tt-ol-menu-list > li.active > .tt-ol-submenu-trigger > a,
body:not(.is-mobile) .tt-ol-menu-list > li > a:hover,
body:not(.is-mobile) .tt-ol-menu-list > li > .tt-ol-submenu-trigger:hover > a,
.tt-ol-menu-list > li > .tt-ol-submenu-trigger.tt-ol-submenu-open > a {
    transform: skew(-15deg, 0deg);
}

.tt-ol-menu-list > li > a, .tt-ol-menu-list > li > .tt-ol-submenu-trigger > a, .tt-ol-submenu-list > li a, .tt-ol-submenu-list > li > .tt-ol-submenu-trigger > a, .tt-ol-submenu-caret, .tt-ol-menu-list > li li .tt-ol-submenu-caret, .tt-overlay-menu.tt-ol-menu-count .tt-ol-menu-list > li::before, .tt-ol-menu-social-heading, .tt-ol-menu-social > li > a {
    color: #f3f3f3;
}

body.light-mode .tt-ol-menu-list > li > a, .tt-ol-menu-list > li > .tt-ol-submenu-trigger > a, .tt-ol-submenu-list > li a, .tt-ol-submenu-list > li > .tt-ol-submenu-trigger > a, .tt-ol-submenu-caret, .tt-ol-menu-list > li li .tt-ol-submenu-caret, .tt-overlay-menu.tt-ol-menu-count .tt-ol-menu-list > li::before, .tt-ol-menu-social-heading, .tt-ol-menu-social > li > a {
    color: #f3f3f3;
}

/* Overlay menu submenu */
.tt-ol-submenu-wrap {
    position: relative;
}
.tt-ol-submenu-trigger {
    position: relative;
    display: inline-block;
}
.tt-ol-submenu {
    display: none;
    position: relative;
    height: auto;
    margin-left: 20px;
    color: #8a8a8a;
}
.tt-ol-menu-list > li > .tt-ol-submenu {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Overlay menu submenu list */
.tt-ol-submenu-list {
    padding: 0;
    list-style: none;
    background: #f3f3f3;
}
.tt-ol-submenu-list .tt-ol-submenu {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Overlay menu submenu list links */
.tt-ol-submenu-list > li a,
.tt-ol-submenu-list > li > .tt-ol-submenu-trigger > a {
    display: inline-block;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 19px;
    font-weight: 600;
    color: #AAA;
    transition: color 0.3s ease-in-out;
}

/* Overlay menu submenu list hover/active */
.tt-ol-submenu-list > li > .tt-ol-submenu-trigger.tt-ol-submenu-open > a,
.tt-ol-submenu-list > li > .tt-ol-submenu-trigger.tt-ol-submenu-open .tt-ol-submenu-caret,
.tt-ol-submenu-list > li.active > a,
.tt-ol-submenu-list > li.active > .tt-ol-submenu-trigger > a,
.tt-ol-submenu-list > li.active > .tt-ol-submenu-trigger .tt-ol-submenu-caret,
.tt-ol-submenu-list > li a:hover,
.tt-ol-submenu-list > li > .tt-ol-submenu-trigger:hover > a,
.tt-ol-submenu-list > li > .tt-ol-submenu-trigger:hover .tt-ol-submenu-caret {
    color: #043915;
}

/* Submenu caret (requires FontAwesome: https://fontawesome.com/) */
.tt-ol-submenu-caret-wrap {
    position: absolute;
    top: 60%;
    right: -40px;
    transform: translate3d(0, -50%, 0);
}
@media (max-width: 767px) {
    .tt-ol-submenu-caret-wrap {
        right: -40px;
    }
}
.tt-ol-submenu-caret {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #646464;
    cursor: pointer;
    z-index: 2;
    border-radius: 100%;
    transition: opacity 0.3s ease-in-out;
}
.tt-ol-submenu-caret::after {
    font-family: "Font Awesome 5 Free";
    content: "\f063";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    transition: all 0.2s ease-in-out;
}
.tt-ol-submenu-trigger.tt-ol-submenu-open .tt-ol-submenu-caret::after {
    transform: rotate(180deg);
}

/* Sub-submenu caret */
.tt-ol-menu-list > li li .tt-ol-submenu-caret-wrap {
    top: 50%;
    right: -40px;
}
.tt-ol-menu-list > li li .tt-ol-submenu-caret {
    font-size: 12px;
    color: #8a8a8a;
}


/* Overlay menu toggle button 
============================== */
#tt-ol-menu-toggle-btn-wrap {
    position: relative;
    display: flex;
    align-items: center;
    pointer-events: initial;
    cursor: pointer;
    z-index: 10002 !important; 
}
.tt-ol-menu-toggle-btn-holder {
    float: left;
}

/* Toggle button */
.tt-ol-menu-toggle-btn {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
}
.tt-ol-menu-toggle-btn span {
    position: absolute;
    display: block;
    top: 54%;
    left: 50%;
    height: 2px;
    width: 20px;
    background-color: transparent;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
}
.tt-ol-menu-toggle-btn span::before,
.tt-ol-menu-toggle-btn span::after {
    position: absolute;
    display: block;
    content: '';
    height: 2px;
    background-color: #FFF;
    transition: all 0.2s ease-in-out;
}
.tt-ol-menu-toggle-btn span::before {
    top: -4px;
    width: 20px;
}
.tt-ol-menu-toggle-btn span::after {
    top: auto;
    bottom: -4px;
    width: 14px;
}

/* Toggle button hover */
body:not(.is-mobile):not(.tt-ol-menu-open) .tt-ol-menu-toggle-btn:hover span {
    height: 6px;
    width: 6px;
    background-color: #FFF;
    border-radius: 50px;
}
body:not(.is-mobile):not(.tt-ol-menu-open) .tt-ol-menu-toggle-btn:hover span::before {
    top: 0;
    width: 0;
}
body:not(.is-mobile):not(.tt-ol-menu-open) .tt-ol-menu-toggle-btn:hover span::after {
    bottom: 0;
    width: 0;
}

/* Toggle button text */
.tt-ol-menu-toggle-btn-text-wrap {
    height: 50px;
    display: flex;
    align-items: center;
    padding-top: 2px;
    padding-right: 5px;
}
.tt-ol-menu-toggle-btn-text {
    float: left;
    overflow: hidden;
    text-align: right;
    font-size: 16px;
    color: #FFF;
}

/* Toggle button text hover */
.tt-ol-menu-toggle-btn-text .text-menu {
    position: relative;
    display: inline-block;
    text-align: right;
    transition: transform 0.3s;
}
body.tt-ol-menu-open .tt-ol-menu-toggle-btn-text .text-menu {
    display: none;
}

body:not(.is-mobile) .tt-ol-menu-toggle-btn-text .text-menu::before {
    position: absolute;
    top: 100%;
    right: 0;
    content: attr(data-hover);
}
body:not(.is-mobile) #tt-ol-menu-toggle-btn-wrap:hover .tt-ol-menu-toggle-btn-text .text-menu {
    transform: translate3d(0, -100%, 0);
}

/* Toggle button close */
body.tt-ol-menu-open .tt-ol-menu-toggle-btn span {
    width: 20px;
    background-color: transparent;
}
body.tt-ol-menu-open .tt-ol-menu-toggle-btn span::before {
    top: 0;
    width: 20px;
    transform: rotate(45deg);
}
body.tt-ol-menu-open .tt-ol-menu-toggle-btn span::after {
    bottom: 0;
    width: 20px;
    transform: rotate(-45deg);
}

.tt-ol-menu-toggle-btn-text .text-close {
    display: none;
}
body.tt-ol-menu-open .tt-ol-menu-toggle-btn-text .text-close {
    display: block;
}

/* Disable menu toggle button click until the animations last */
body.olm-toggle-no-click .tt-ol-menu-toggle-btn-text,
body.olm-toggle-no-click .tt-ol-menu-toggle-btn {
    pointer-events: none;
}


/* Overlay menu social links 
============================= */
.tt-ol-menu-social {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right;
    right: calc(50% - 620px);
    z-index: 99910;
    visibility: hidden;
    opacity: 0;
}
@media (max-width: 1300px) {
    .tt-ol-menu-social {
        right: 5%;
    }
}
@media (min-width: 768px) {
    .tt-ol-menu-social {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
    }
}
@media (max-width: 767px) {
    .tt-ol-menu-social {
        margin-top: 80px;
        text-align: left;
    }
}
.tt-ol-menu-social > li {
    padding: 3px 0;
}
.tt-ol-menu-social > li > a {
    font-size: 19px;
/*    color: #919191;*/
    font-weight: 600;
    background-repeat: no-repeat;
    background-image: -o-linear-gradient(transparent calc(100% - 1px),currentColor 1px);
    background-image: linear-gradient(transparent calc(100% - 1px),currentColor 1px);
    background-image: -ms-linear-gradient(transparent 100%,currentColor 1px);
    transition: 0.6s cubic-bezier(.215,.61,.355,1) !important;
    background-size: 0 100%;
    text-decoration: none;
}
.tt-ol-menu-social > li > a:hover, 
.tt-ol-menu-social > li > a:focus {
    background-size: 100% 100%;
    color: #043915;
}

.tt-ol-menu-social-heading {
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
/*    color: #EEE;*/
}

/* Keep logo visible when overlay menu is open */
body.tt-ol-menu-open .tt-logo {
    display: block !important;
    z-index: 10001; /* higher than overlay menu */
}

/* Keep social links visible when overlay menu is open */
body.tt-ol-menu-open .tt-ol-menu-social {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10000; /* above overlay content */
}

/* Import Poppins font from Google Fonts */
/* Force overlay menu and submenu fonts to Poppins and remove underlines */
.tt-ol-menu-list a,
.tt-ol-submenu-list a {
    text-decoration: none !important; /* removes underlines */
}

/* Optional: also apply to toggle button text */
/*.tt-ol-menu-toggle-btn-text,
.tt-ol-menu-toggle-btn-text span {
    font-family: 'Poppins', sans-serif !important;
}
*/
/*.hero-text h1, .hero-text p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}*/

.tt-main-menu {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
body.tt-m-menu-open .tt-main-menu {
  visibility: visible;
  opacity: 1;
}

/* ------------------------------------------------------------- *
 * Enhancements (no core edits)
 * ------------------------------------------------------------- */

/* --- Reduce mobile lag --- */
@media (max-width: 1024px) {
  .tt-main-menu,
  .tt-ol-menu-list > li,
  .tt-submenu,
  .tt-submenu-list {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  /* Prevent heavy transitions on mobile */
  * {
    transition: transform 0.25s ease-out, opacity 0.25s ease-out !important;
  }
}

/* --- Menu underline effect (desktop only) --- */
@media (min-width: 1025px) {
  .tt-main-menu-list > li > a,
  .tt-main-menu-list > li > .tt-submenu-trigger > a {
    position: relative;
  }
  .tt-main-menu-list > li > a::after,
  .tt-main-menu-list > li > .tt-submenu-trigger > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 0%;
    height: 2px;
    background-color: #1367ef;
    transition: width 0.3s ease-in-out;
  }
  .tt-main-menu-list > li:hover > a::after,
  .tt-main-menu-list > li:hover > .tt-submenu-trigger > a::after,
  .tt-main-menu-list > li.active > a::after {
    width: 100%;
  }
}

/* --- Submenu reveal (desktop) --- */
@media (min-width: 1025px) {
  .tt-submenu {
    transform: translateY(15px);
    opacity: 0;
    visibility: hidden;
  }
  .tt-submenu-wrap.tt-submenu-open > .tt-submenu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: all 0.25s ease-out;
  }
}


/* Horizontal storytelling */
.horizontal-story { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #121212; }
/*.horiz-track { display: flex; height: 100%; width: auto; will-change: transform; }*/

.horiz-track {
  display: flex;
  height: 100%;
  width: calc(100vw * 4); /* 4 = number of panels */
  will-change: transform;
}


/* panel: full-viewport horizontally */
.panel {
  min-width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}

/* blurred background */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(1px) brightness(0.50);
  z-index: 0;
}

/* content layering */
.panel-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: #fff;
  opacity: 0;           /* animated in by JS */
  transform: translateY(20px);
  will-change: transform, opacity;
}

.panel-content h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  margin-bottom: 12px;
  line-height: 1.06;
  font-weight: 700;
}
.panel-content p {
  color: #e6e6e6;
  margin-bottom: 18px;
  font-size: clamp(14px, 1.6vw, 18px);
}
.panel-content h3 {
  color: #f3f3f3;
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
}
.panel .cta {
  display: inline-block;
  background: #fffd8f;
  color: #043915;
  padding: 10px 22px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
}

/* accent color */
.accent { color: #fffd8f; }

/* small devices */
@media (max-width: 720px) {
  .panel { padding: 28px; }
  .panel-content h2 { font-size: 26px; }


/*.categories {
  position: relative;
  padding: 80px 10%;
  background: #121212;
  text-align: center;
  overflow: hidden;
}*/

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #6fa2f5;
  letter-spacing: 1px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
}

.category {
  background: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff;
  min-width: 160px;
  opacity: 0;
  transform: translateX(100px);
}

.view-more {
  margin-top: 40px;
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background: #ff6600;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}
.view-more:hover {
  background: #ff8533;
}

/* product-showcase section */

.product-showcase {
  position: relative;
  height: 100vh; /* height of the horizontal scroll section */
  overflow: hidden;
  background: #0d1117;
  color: #fff;
  padding: 0 40px;
}

.product-showcase .section-title {
  position: absolute;
  top: 60px; /* was 20px, now gives more breathing room */
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  z-index: 10;
}


.products-slider {
  display: flex;
  height: 100%;
}

.products-track {
  display: flex;
  gap: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  /* transition: transform 0.1s linear; <- remove this */
}


.products-track .product-card {
  flex: 0 0 calc((100vw / 4.5) - 16px); /* show 4.5 products at a time */
  background: #12151c;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-track .product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.products-track .product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #043915;
}

.products-track .product-card p {
  font-size: 0.9rem;
  color: #c1c1c1;
  margin-bottom: 10px;
}

.products-track .product-card .product-cta {
  display: inline-block;
  padding: 6px 16px;
  background: #ff6600;
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
}

.products-track .product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Mobile: 1 card, but not too wide */
@media (max-width: 600px) {
  .products-track .product-card {
    flex: 0 0 75%;   /* was 90% */
    max-width: 320px; /* optional: prevents overly wide cards on large phones */
  }
}

/* Tablet: 2 cards side by side */
@media (min-width: 601px) and (max-width: 900px) {
  .products-track .product-card {
    flex: 0 0 45%;
    max-width: 380px; /* keeps them looking balanced */
  }
}

/* Small desktop: 3 cards */
@media (min-width: 901px) and (max-width: 1200px) {
  .products-track .product-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

/* Large desktop: your original layout */
@media (min-width: 1201px) {
  .products-track .product-card {
    flex: 0 0 calc((100vw / 4.5) - 16px);
    margin-top: 40px;
  }
}

/* Best Selling Products section */

.product-grid {
  background: #0d1117;
  padding: 80px 40px;
  color: #fff;
  text-align: center;
}

.product-grid .section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.grid-container .product-card {
  background: #12151c;
  border-radius: 16px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-container .product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.grid-container .product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.grid-container .product-card p {
  font-size: 0.9rem;
  color: #c1c1c1;
  margin-bottom: 10px;
}

.grid-container .product-card .product-cta {
  display: inline-block;
  padding: 6px 16px;
  background: #ff6600;
  color: #fff;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
}

.grid-container .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.4);
}

/* Responsive */

/* Tablet */
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile (always 2 per row) */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px; /* tighter gap */
  }

  .product-grid {
    background: #0d1117;
    padding: 8px 4px;
    color: #fff;
    text-align: center;
  }

  .grid-container .product-card {
    padding: 10px;       /* reduce padding */
  }

  .grid-container .product-card h3 {
    font-size: 0.95rem;  /* smaller title */
  }

  .grid-container .product-card p {
    font-size: 0.8rem;   /* smaller description */
  }

  .grid-container .product-card img {
    border-radius: 10px;
  }
}

/* Very small devices (optional, keep 2 but shrink further) */
@media (max-width: 400px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-grid {
    background: #0d1117;
    padding: 8px 4px;
    color: #fff;
    text-align: center;
  }

  .grid-container .product-card {
    padding: 8px;
  }

  .grid-container .product-card h3 {
    font-size: 0.85rem;
  }

  .grid-container .product-card p {
    font-size: 0.75rem;
  }
}


/* Scoped to category-showcase only */
.category-showcase {
  padding: 60px 20px;
  background: #0d1117; /* Dark background */
  color: #f3f4f6; /* Light text */
}

.category-showcase .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Banners */
.category-showcase .banner {
  background: #1f2937; /* Dark gray */
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  color: #f3f4f6;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;   /* make clickable links clean */
  cursor: pointer;
  transition: background 0.3s ease;
}
.category-showcase .banner:hover {
  background: #374151;
}

.category-showcase .banner-large .banner {
  height: 250px;
  margin-bottom: 30px;
}

.category-showcase .banner-row.two-banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.category-showcase .banner-row.two-banners .banner {
  height: 200px;
}

.category-showcase .banner-row.three-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.category-showcase .banner-row.three-banners .banner {
  height: 180px;
}

/* Products grid centered */
.category-showcase .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  justify-content: center;
  justify-items: center;
  margin-top: 40px;
}
.category-showcase .grid-container .product-card {
  width: 100%;
  max-width: 260px;
  text-align: center;
}

/* Responsive */
/*@media (max-width: 992px) {
  .category-showcase .banner-row.two-banners, 
  .category-showcase .banner-row.three-banners {
    grid-template-columns: 1fr;
  }
}*/

/* Banner redesign without images */
.category-showcase .banner {
  background: linear-gradient(135deg, #1e293b, #0f172a); /* gradient depth */
  border: 1px solid rgba(255, 255, 255, 0.08);          /* subtle border */
  border-radius: 14px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
  color: #f9fafb;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Animated gradient shine on hover */
.category-showcase .banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.category-showcase .banner:hover::after {
  left: 100%;
}

/* Subtle text glow */
.category-showcase .banner:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255,255,255,0.4);
}

/* Cart button */
.category-showcase .cart-button {
  --btn-bg: #1367ef; /* main color */
  --btn-bg-hover: #1e40af;
  --btn-success: #16a34a;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--btn-bg);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
}

.category-showcase .cart-button:hover {
  background: var(--btn-bg-hover);
}

.category-showcase .cart-button .added {
  display: none;
}

.category-showcase .cart-button.active {
  background: var(--btn-success);
}

.category-showcase .cart-button.active .add-to-cart {
  display: none;
}

.category-showcase .cart-button.active .added {
  display: inline;
}

/* Icon animations */
.category-showcase .cart-button .cart-icon,
.category-showcase .cart-button .box-icon {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.category-showcase .cart-button.active .cart-icon {
  opacity: 1;
  transform: translateY(0);
}

.category-showcase .cart-button.active .box-icon {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

/* Hide the "added" span by default */
.cart-button .added {
  display: none;
}

/* When button has the 'added' state, show the checkmark and hide 'Add to Cart' */
.cart-button.added .add-to-cart {
  display: none;
}

.cart-button.added .added {
  display: inline-block;
}

/* Mobile-only layout */
@media (max-width: 768px) {
  /* Categories - 2 on first row, 1 below */
  .category-showcase .banner-row.three-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .category-showcase .banner-row.three-banners .banner:nth-child(3) {
    grid-column: 1 / span 2; /* forces third banner onto its own row */
    justify-content: center;
    align-items: center;
    height: 160px;
  }

  /* Products - 2 per row */
  .category-showcase .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}


/* Product grid */
.items {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.item {
  background: #1f2937;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.item:hover { transform: translateY(-4px); }

.item img {
  width: 100%;
  max-width: 150px;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.item p { font-size: 0.85rem; margin-bottom: 0.5rem; color: #9ca3af; }

/*.btn-item {
  all: unset;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: hotpink;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Syne', sans-serif;
  text-transform: uppercase;
}
.btn-item:hover { background: deeppink; }*/

/* Floating Cart */
.cart {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 100;
  pointer-events: none;
}

.btn-cart-wrapper {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;
  pointer-events: initial;
}

.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  cursor: pointer;
}

/*.btn-cart svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #111;
}*/

.cart .count {
  position: absolute;
  top: -0.6rem;
  right: -0.6rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: hotpink;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.cart .items-wrapper {
  margin-top: 0.5rem;
  background: #fff;
  border-radius: 8px;
  max-height: 60vh;
  width: 280px;
  overflow-y: auto;
  padding: 0.5rem;
  pointer-events: initial;
  display: none;
}

.cart.open .items-wrapper { display: block; }

.cart .items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3rem, 1fr));
  gap: 0.5rem;
}

.cart .items img {
  width: 100%;
  border-radius: 4px;
}

.cart .empty-text {
  text-align: center;
  color: #444;
  font-size: 0.85rem;
  padding: 0.5rem;
}

.cart .items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 0.5rem;
}

.cart .items img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.cart .items img:hover {
  transform: scale(1.05);
}

#phoenix-container {
  position: fixed;
  right: 10px;
  bottom: 100px; /* Adjust to hover above floating cart */
  width: 80px;
  height: 80px;
  cursor: pointer;
  z-index: 9999;
}

#phoenix {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, bottom 0.3s ease;
  will-change: transform, bottom;
}

/* =========================================================
   PERFORMANCE OPTIMIZATION PATCH (safe drop-in)
   ========================================================= */

/* --- General rendering & animation safety --- */
* {
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
}
/*img, video, canvas {
  max-width: 100%;
  height: auto;
  content-visibility: auto;
}

.btn-cart img {
  content-visibility: visible !important;
}*/

.icon-cart {
  width: 134px;  /* increased from 28px */
  height: 134px; /* increased from 28px */
  color: #6fa2f5;
  stroke: currentColor;
}

@media (max-width: 768px) {
  .icon-cart {
    width: 34px;  /* increased from 28px */
    height: 34px; /* increased from 28px */
    color: #6fa2f5;
    stroke: currentColor;
  }
}


/* --- Containment to limit repaint areas --- */
.panel,
.categories,
.product-showcase,
.product-grid,
.category-showcase,
.items {
  contain: layout paint;
  will-change: transform, opacity;
}

/* --- Remove heavy blur on mobile --- */
@media (max-width: 768px) {
  .panel::before {
    filter: brightness(0.45); /* removed blur for mobile performance */
  }
}

/* --- Limit hover animations to desktop --- */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover,
  .grid-container .product-card:hover,
  .item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .category-showcase .banner:hover::after {
    transition: none !important;
  }
}

/* --- Smooth scroll / reduced lag on product showcase --- */
/*.products-track {
  will-change: transform;
  contain: layout paint;
  transition: none !important;
}*/

/* --- Lower box-shadow complexity for mobile --- */
@media (max-width: 768px) {
  .product-card,
  .grid-container .product-card,
  .item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  }
}

/* --- Reduce motion for users or mobile devices --- */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* --- Optimize banners (remove gradient shine on mobile) --- */
@media (max-width: 768px) {
  .category-showcase .banner::after {
    display: none;
  }
}

/* --- Optimize full-height sections for mobile browser bars --- */
@media (max-width: 768px) {
  .panel,
  .product-showcase {
    min-height: 100svh; /* small viewport unit = stable height */
    height: 220px;
  }
}

/* --- Lazy-load & stabilize grid rendering --- */
/*.grid-container img,
.products-track img,
.category-showcase img {
  content-visibility: auto;
  contain: layout paint;
  transform: translateZ(0);
}*/

/* --- Prevent layout jumps --- */
img {
  aspect-ratio: attr(width) / attr(height);
}

/* --- Optimize cart elements --- */
.cart .items-wrapper {
  contain: layout paint;
  overscroll-behavior: cover;
  -webkit-overflow-scrolling: touch;
}

#phoenix {
  will-change: transform;
  transition: transform 0.25s ease-out;
}

/* --- Safe media rendering optimization --- */
img,
video,
canvas {
  max-width: 100%;
  height: auto;
  /* removed content-visibility to prevent layout jumps */
}

/* --- Keep heavy lazy-loading only for large, static banners --- */
.category-showcase img {
  content-visibility: auto;
  contain: layout paint;
  transform: translateZ(0);
}

/* --- Disable content-visibility for dynamic carousels & grids --- */
.grid-container img,
.products-track img {
  content-visibility: visible !important;
  contain: layout paint;
  transform: translateZ(0);
}

/* --- Cart icon stays instantly visible --- */
.btn-cart img {
  content-visibility: visible !important;
}

