/* Controls Bar */
.controls-bar {
    background: #f8f9fa;
    padding: 12px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.controls-bar .Search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 24px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 500px;
}

.controls-bar .Search-bar input {
    border: none;
    outline: none;
    padding: 8px;
    width: 100%;
    font-size: 16px;
}

.controls-bar .Search-bar button {
    background: none;
    border: none;
    color: #2ecc71;
    cursor: pointer;
    padding: 8px;
}

.controls-bar .Search-bar button:hover {
    color: #27ae60;
}

.controls-bar .cart-icon {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    font-size: 24px;
    padding: 10px;
    background: #2ecc71;
    border-radius: 50%;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.controls-bar .cart-icon:hover {
    background: #27ae60;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .controls-bar {
        padding: 12px;
        flex-direction: column;
        gap: 12px;
    }
    
    .controls-bar .Search-bar {
        width: 100%;
    }
    
    .controls-bar .cart-icon {
        margin-left: 0;
    }
}

/* Product Details Modal */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    padding: 24px 32px 32px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
    max-width: 700px;
    width: 90vw;
    min-height: 400px;
    text-align: center;
    position: relative;
}
.close-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 2em;
    color: #888;
    cursor: pointer;
}
.close-modal:hover {
    color: #e74c3c;
}
/* Favorite heart active state */
.fav-icon.active, .single-product .fav-icon.active {
    color: #e74c3c;
}
.fav-icon i.active {
    color: #e74c3c;
}
/* Icon row under product images */

.icon-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 0 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.single-product:hover .icon-row {
    opacity: 1;
    pointer-events: auto;
}
.icon-row .fav-icon, .icon-row .view-icon {
    font-size: 1.4em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.icon-row .fav-icon:hover {
    color: #e74c3c;
}
.icon-row .view-icon:hover {
    color: #4CAF50;
}
/* Favorite and View Specs Icons in Product Cards */
.single-product .fav-icon {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 8px;
}
.single-product .fav-icon i {
    font-size: 1.3em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.single-product .fav-icon i:hover {
    color: #4CAF50;
}
/* Align video and image side by side in welcome section */
.media-row {
   display: flex;
    align-items: center;
    gap: 32px;
    margin: 20px 0;
}
.small-image {
    flex: 1;
    max-width: 400px;
    height: auto;
    border-radius: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    top: 5px; /* Moves the image up by 30px */
}
 body {
    margin: 0;
    padding: 0;
    font-family:Arial, Helvetica, sans-serif;
        background-color: #e0e0e0;
        /* Reduce base font size site-wide to make all pages' text smaller */
        font-size: 14px;
    color :#222;
}      
header.header {
    background-color: green;
    color: white;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.logo {
    flex: 0 0 auto;
}
.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}
header h1 {
    margin: 0;
    font-size: 2.5em;
}
nav {
    margin-top: 10px;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
}
nav a:hover {
    text-decoration: underline;
}
main {
    padding: 20px;
}

.hero1 {
    background-image: url('images/ilgmyzin-_ZZ0KTqKv5g-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

/* About page background image utility */
.about-hero {
    background-image: url("Images aboutus/celeb.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: black;
}
.about-hero::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0,0,0,0.35); /* subtle dark overlay for text contrast */
}
.about-hero > * {
    position: relative; /* above overlay */
}
section {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Featured Products Grid */
.product {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 20px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 520px;
    align-items: stretch;
}
/* Product typography: use a clean system UI font for all product lists/cards */
.product, .single-product, .male-product, .shop-main, .shop-main .single-product, .card, .cat-card, .featured-cats, .home-track .meta {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-style: normal;
    font-weight: 100;
    color: inherit; /* keep color rules intact */
}
.card-group {
    display: flex;
    flex-direction: row;
    gap: 80px;
    width: max-content;
    height: 10000px;
    background-color: #333;
}
.male-product {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 20px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 520px;
    align-items: stretch;
}

/* Individual Product Card */
.single-product {
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 150px;
    width:250px;
    height:350px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.single-product:hover {
    box-shadow: 0 4px 16px rgba(76,175,80,0.15);
}
.single-product img {
    width: 100%;
    max-width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
.single-product h3 {
    font-size: 1.2em;
    margin: 8px 0 4px 0;
    color: black;
}
.single-product p {
    font-size: 1em;
    margin: 4px 0;
    color: #555;
}
section h2 {
    color: #4CAF50;
}
/* Search results grid at top */
.search-results {
    background: #fff;
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.search-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.search-results-grid .single-product {
    padding: 12px;
}
.clear-search {
    background: transparent;
    border: 3px solid #ccc;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}
.section-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    max-height: 600px;
    display: block;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: cover;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
footer p {
    margin: 0;
}
footer a {
    color: #4CAF50;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
h1, h2, h3 {
    font-family: 'Georgia', serif;
}
h1 {
    font-size: 3em;
}
h2 {
    font-size: 2em;
}
h3 {
    font-size: 1.5em;
}
p {
    line-height: 1.6;
    font-size: 1em;
}
img {
    border-radius: 5px;
}
a {
    color: #4CAF50;
}
a:hover {
    text-decoration: underline;
}

.logo {
    margin-left: 20px;
}
.logo img {
    height: 60px;
    width: auto;
    display: block;
}
.main-nav {
    margin-left: auto;
    margin-right: 20px;
}
.right-nav {
    margin-right: 40px;
    margin-left: 20px;
}
.main-nav a, .right-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2em;
}
.main-nav a:hover, .right-nav a:hover {
    text-decoration: underline;
}
.site-title {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 2.5em;
}
.main-nav {
    margin-left: 40px;
}
.right-nav {
    margin-right: 40px;
    margin-left: 20px;
}
.main-nav a, .right-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.2em;
}
.main-nav a:hover, .right-nav a:hover {
    text-decoration: underline;
}
.card .fav-icon {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 8px;
}

.card .fav-icon i {
    font-size: 1.3em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.card .fav-icon i:hover {
    color: #4CAF50;
}

/* About Page Grid Styles */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px auto;
  max-width: 900px;
  justify-content: center;
}


.about-item {

/* ======== Homepage enhancements ======== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: #fff;
    color: #111;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1200;
}

.home-hero {
    position: relative;
    margin-bottom: 18px;
    color: white;
    min-height: 220px; /* limit visible image height so picture appears smaller */
    display: flex;
    align-items: center; /* vertically center content */
}
.hero-bg {
    background-image: url("images/download.jpg");
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(0.95);
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.95;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.2));
    z-index: 1;
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 28px 16px; /* tighter vertical spacing so hero is smaller */
    text-align: left;
}
.home-hero h1 {
    font-size: 2.4rem;
    margin: 0 0 8px 0;
}
.home-hero .lead {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: #f1f1f1;
}
.hero-ctas .btn { margin-right: 10px; }
.btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid transparent;
}
.btn.primary {
    background: #2e7d32;
    color: white;
}
.btn.primary:hover { background:#276a2b }
.btn.ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.btn.outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}
.hero-note { margin-top: 12px; color: #e6f4ea; font-size: 0.95rem }

.featured-cats { margin-top: 18px; }
.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.cat-card {
    display: block;
    background: linear-gradient(180deg,#fff,#fafafa);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-card img { width:100%; height:140px; object-fit:cover; display:block }
.cat-body { padding: 12px; }
.cat-card h3 { margin: 0 0 6px 0; color: #2e7d32 }
.cat-card p { margin: 0; color: #444 }
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 22px rgba(0,0,0,0.08) }

.how-it-works { margin-top: 22px }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px }
.step { background: #fff; padding: 18px; border-radius: 10px; text-align: center; box-shadow: 0 6px 14px rgba(0,0,0,0.04) }
.step-num { width:44px; height:44px; border-radius: 50%; background:#e8f5e9; color:#2e7d32; display:inline-flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:8px }

.sr-only { position: absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }

@media (max-width:720px) {
    .home-hero { min-height: 160px }
    .home-hero h1 { font-size: 1.6rem }
    .hero-inner { padding: 20px 12px }
}

/* small utility */
.grid { display: grid }

/* Hero video styling — two equal videos aligned side-by-side */
.hero-video {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 760px; /* allow two videos to sit side-by-side comfortably */
    margin-top: 12px;
}
.hero-video video {
    flex: 1 1 45%;
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: block;
}
@media (max-width:920px) {
    .hero-video { max-width: 600px; }
    .hero-video video { max-width: 280px; }
}
@media (max-width:720px) {
    .hero-video { flex-direction: column; gap: 10px; max-width: 320px; margin: 12px auto 0; }
    .hero-video video { flex-basis: 100%; max-width: 100%; }
}

  background: #f8f8f8;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.about-item h3 {
  margin-top: 0;
}

.celeb-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* WhatsApp Floating Icon */
.whatsapp-float {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9999;
  background: #25d366;
  color: #fff;
  border-radius: 20px;
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s, box-shadow 0.2s;

}

/* Shop main: two-row horizontal grid scroller */
.shop-main {
    display: grid;
    grid-auto-flow: column; /* fill columns left-to-right */
    grid-template-rows: repeat(2, 1fr); /* two rows */
    grid-auto-columns: 280px; /* each column's width (card width + gap) */
    gap: 16px;
    padding: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    align-items: start;
}
/* Product slideshow styles */
.product-slideshow {
    max-width: 1000px;
    margin: 18px auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
    .product-slideshow .slide { display:flex; align-items:center; justify-content:center; }

/* Homepage carousel (new, compact) */
.home-carousel { max-width: 1000px; margin: 18px auto; position: relative; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.home-track { display:flex; transition: transform 400ms ease; will-change: transform; }
.home-track .slide { min-width: 100%; box-sizing: border-box; padding: 18px; display:flex; gap:16px; align-items:center; justify-content:center; }
.home-track .slide img { width: 320px; height: 240px; object-fit: cover; border-radius: 8px; display:block; }
.home-track .meta { max-width: 480px; }
.home-track h3 { margin: 0 0 6px 0; }
.home-controls { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); display:flex; justify-content:space-between; pointer-events:none }
.home-controls button { pointer-events:auto; background: rgba(255,255,255,0.95); border:1px solid #ddd; padding:8px 12px; border-radius:8px; cursor:pointer; }
.home-dots { display:flex; gap:8px; justify-content:center; padding:12px 0; }
.home-dot { width:10px; height:10px; background:#ddd; border-radius:50%; cursor:pointer }
.home-dot.active { background:#4CAF50 }

@media (max-width:800px) {
  .home-track .slide { flex-direction:column; }
  .home-track .slide img { width:100%; height:200px; }
}

/* Homepage hero and buttons */
.home-hero { background: #fff; border-radius: 8px; padding: 18px 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.home-hero-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.home-hero h1 { margin:0; color:#2e7d32; font-size:1.8rem; }
.home-hero p { margin:8px 0; color:#444; }
.btn-primary { background:#2e7d32; color:#fff; padding:10px 14px; border-radius:8px; text-decoration:none; }
.btn-ghost { background:transparent; color:#2e7d32; padding:10px 14px; border-radius:8px; text-decoration:none; border:1px solid rgba(46,125,50,0.12); }

/* Make the visible hero boxes opaque white so they're not affected by page background
   Targets: the top 'Natural health care from GreenWorld' box and the 'We Care We Share' hero. */
.hero-section > .home-hero,
.hero-section .home-carousel,
.hero-section .home-hero,
.hero-section .hero-inner {
    background: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    color: #222; /* keep text dark on white background */
}

/* buttons keep their colors via their existing .btn-primary/.btn-ghost rules */

/* hero-section background: place the requested image behind the whole first section (hero + carousel) */
.hero-section {
    position: relative;
    background: url("images/joey-kyber-sFLVTqNzG2I-unsplash.jpg") center/cover no-repeat;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.08));
    pointer-events: none;
    z-index: 0;
}
/* Ensure inner content sits above overlay (do not force transparency so white boxes keep their backgrounds) */
.hero-section > div, .hero-section .home-hero, .hero-section .home-carousel, .hero-section .home-hero-inner {
    position: relative;
    z-index: 1;
}
/* Keep heading and lead text dark inside the white boxes */
.hero-section h1, .hero-section .lead {
    color: #222;
}

.featured-cats { background:#fff; padding:12px 16px; border-radius:8px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.featured-cats h3 { margin:0 0 8px 0; color:#2e7d32; }
.featured-cats ul { list-style:none; padding:0; margin:0; display:flex; gap:12px; flex-wrap:wrap; }
.featured-cats li { background:#f6f6f6; padding:8px 12px; border-radius:6px; }
.featured-cats a { color:#2e7d32; text-decoration:none; }

.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }

/* Side slideshow removed (was inline teaser) */

.slideshow-track {
    display: flex;
    transition: transform 400ms ease;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
}
.slide img { width: 260px; height: 260px; object-fit: cover; border-radius: 8px; }
.slide .meta { flex: 1; }
.slide h3 { margin: 0 0 8px 0; }
.slide p { margin: 4px 0; }
.slideshow-controls { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); display:flex;justify-content:space-between;pointer-events:none }
.slideshow-controls button { pointer-events:auto; background: rgba(255,255,255,0.9); border:1px solid #ddd; padding:10px 12px; border-radius:8px; cursor:pointer; }
.slideshow-dots { display:flex; gap:8px; justify-content:center; padding:12px 0; }
.slideshow-dot { width:10px; height:10px; background:#ddd; border-radius:50%; cursor:pointer }
.slideshow-dot.active { background:#4CAF50 }

.shop-main::-webkit-scrollbar {
    height: 10px;
}
.shop-main::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}
.shop-main .single-product {
    width: 260px;
    padding: 12px;
    box-sizing: border-box;
}
.shop-main .single-product img {
    max-width: 100%;
    height: 140px;
    object-fit: cover;
}

/* Highlight active category */
.shop-categories li.active {
    background: #4CAF50;
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
}

.whatsapp-label {
  font-size: 0.55em;
  color: #fff;
  margin-right: 0;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap;
  padding-left: 6px;
  padding-right: 0;
  align-self: center;
  font-weight: normal;
}
.whatsapp-float:hover {
  background: #128c7e;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Site footer contact area */
.site-footer {
    background: #272727;
    color: #fff;
    padding: 12px 20px;
}
.site-footer .footer-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.site-footer .contact-item a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.site-footer .contact-item i {
    font-size: 1.2em;
}

/* Social icons in footer */
.site-footer .contact-item.socials a {
    color: #fff;
    margin: 0 8px;
    font-size: 1.25em;
    display: inline-flex;
    align-items: center;
}
.site-footer .contact-item.socials a:hover { color: #4CAF50 }

/* Shop Page Categories Sidebar */
.shop-layout {
  display: flex;
  gap: 32px;
}
.shop-categories {
    min-width: 200px;
    background: #ffffff; /* changed to white */
    padding: 24px 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: fit-content;
  margin-top: 20px;
}
.shop-categories h6 {
  margin-top: 0;
  font-size: 1.1em;
  color: #333;
  font-weight: bold;
}
.shop-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shop-categories li {
  margin-bottom: 12px;
  font-size: 1em;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
}
.shop-categories li:hover {
  color: #4CAF50;
}

/* Responsive header and mobile menu */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.6em;
    margin-right: 20px;
    cursor: pointer;
}
.Search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.Search-bar input {
    padding: 10px 14px; /* larger clickable area */
    border-radius: 999px; /* pill shape */
    border: 1px solid #ccc;
    min-width: 220px; /* reasonable default width */
    font-size: 1rem;
    outline: none;
}
.Search-bar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px; /* pill shape */
    border: 1px solid transparent;
    background: #2e7d32; /* slightly darker green to match theme */
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
}
.Search-bar button .fa-solid { /* scale icon inside */
    font-size: 1.1rem;
}
.Search-bar button:hover{ background:#276a28 }
.search-icon {
    color: white;
}
@media (max-width: 800px) {
    header.header {
        flex-wrap: wrap;
        padding: 10px;
        gap: 8px;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 6px;
        background: rgba(255,255,255,0.03);
        padding: 10px 20px;
    }
    .main-nav a {
        margin: 4px 0;
        font-size: 1em;
    }
    .Search-bar {
        order: 3;
        width: 100%;
    }
    .Search-bar input {
        min-width: 0; /* allow it to shrink on small screens */
        width: 100%;
    }
    .Search-bar button {
        padding: 10px 12px;
        margin-left: 6px;
    }
    /* Make the icon-row visible/clickable on mobile devices (no hover) */
    .icon-row {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}
.shop-main {
    flex: 1;
}

/* Ensure the shop layout fills remaining viewport height so .shop-main stretches to the right side */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}
header.header {
    flex: 0 0 auto;
}
.shop-layout {
    flex: 1 1 auto; /* take remaining space under header */
    display: flex;
    gap: 32px;
    align-items: stretch;
    padding: 20px;
    box-sizing: border-box;
}
.shop-categories {
    align-self: stretch; /* make sidebar the same height as .shop-layout */
    overflow: auto;
}
.shop-main {
    flex: 1 1 auto;
    min-height: 0; /* allow flex child to shrink and allow inner scrolling */
    overflow: auto; /* scroll if content taller than available space */
}

