/* ============================================================
   THEME TOKENS — single source of truth for colors & fonts.
   Adapted from the "Your Store" template (green + gold).
   ============================================================ */
:root {
    --color-bg:        #faf8f3;   /* page background */
    --color-surface:   #ffffff;   /* card / panel background */
    --color-ink:       #1f2a24;   /* primary text */
    --color-ink-soft:  #5c6a62;   /* secondary text */
    --color-brand:     #1f4d3a;   /* primary brand (header, buttons, footer) */
    --color-brand-2:   #163a2b;   /* darker brand */
    --color-brand-ink: #ffffff;   /* text on brand color */
    --color-accent:    #c98a3a;   /* accent (links, prices, highlights) */
    --color-accent-2:  #b5792d;   /* accent hover */
    --color-line:      #e4e0d4;   /* hairline borders */
    --color-up:        #2f8a4e;   /* ticker up */
    --color-down:      #c1432f;   /* ticker down */

    /* Back-compat aliases used by legacy selectors */
    --main-color:      var(--color-brand);
    --main-color-two:  var(--color-accent);

    --font-display: Georgia, "Times New Roman", serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

    --radius: 10px;
    --maxw: 1280px;
}

/* ============================================================
   BASE
   ============================================================ */
* { padding: 0; margin: 0; box-sizing: border-box; }

body {
    background-color: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { text-decoration: none; color: var(--color-accent); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--color-ink); }

.container { width: 100%; max-width: 1250px; margin: 0 auto; }

button { font-family: inherit; cursor: pointer; }
.quantity input:focus, button, button:focus { outline: 0; }

/* Section spacing */
.ptb,
.main-section,
.middiv,
.section-padding { padding: 56px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-primary {
    background: var(--color-brand);
    color: var(--color-brand-ink);
    padding: 12px 26px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--color-brand);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover,
.btn-primary:hover,
.add-to-cart:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
}
.btn.bg-white { background: #fff; border-color: #fff; }
.btn.bg-white:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* ============================================================
   PROMOTIONAL BAR (single-line scrolling, top of header)
   ============================================================ */
.promo-bar {
    background: var(--color-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    overflow: hidden;
}
.promo-bar .promo-track {
    display: flex;
    width: max-content;
    animation: promo-scroll 45s linear infinite;
}
.promo-bar .promo-group {
    display: flex;
    align-items: center;
    height: 38px;
    gap: 46px;
    padding-right: 46px;
    flex: none;
}
.promo-bar .promo-group span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.promo-bar a { color: #fff; text-decoration: underline; }
.promo-bar a:hover { color: #fff; opacity: .85; }
.promo-bar .promo-track:hover { animation-play-state: paused; }
@keyframes promo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   TICKER BAR (top strip, wired to real data)
   ============================================================ */
.ticker {
    background: var(--color-brand);
    color: var(--color-brand-ink);
    font-size: 13px;
    letter-spacing: .04em;
}
.ticker .wrap {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; flex-wrap: wrap; padding: 8px 0;
}
.ticker .items { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ticker .ticker-track { display: flex; width: max-content; animation: ticker-scroll 110s linear infinite; }
.ticker .ticker-group { display: flex; gap: 28px; padding-right: 28px; flex: none; }
.ticker .items span,
.ticker .items a { white-space: nowrap; }
.ticker .items a { color: inherit; text-decoration: none; cursor: pointer; transition: color .15s ease; }
.ticker .items a:hover { color: var(--color-accent); text-decoration: underline; }
.ticker .ticker-track:hover { animation-play-state: paused; }
.ticker .ticker-track.is-paused { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker .up { color: #9bdcb3; }
.ticker .down { color: #f3a89a; }
.ticker .phone { font-weight: 700; white-space: nowrap; }
.ticker .phone a { color: var(--color-brand-ink); }

/* ============================================================
   HEADER
   ============================================================ */
.head {
    padding: 16px 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-line);
    position: relative;
}
.logo { display: flex; align-items: center; justify-content: flex-start; }
.logo img { width: auto; max-width: 200px; }

/* stellarnav (desktop + mobile) */
.stellarnav ul { list-style: none; }
.stellarnav.light { background: transparent; }
/* Top-level links: dark ink on the white header (override plugin's white default) */
.stellarnav.light > ul > li > a,
.stellarnav.desktop.light > ul > li > a { color: var(--color-ink); font-size: 15px; font-weight: 600; }
.stellarnav.light > ul > li > a:hover,
.stellarnav.desktop.light > ul > li > a:hover { color: var(--color-accent); }
/* Submenu (dropdown) keeps light text on the dark dropdown panel */
.stellarnav.light ul ul { background: var(--color-brand-2); }
.stellarnav.light ul ul li a { color: var(--color-brand-ink) !important; }
.stellarnav.light ul ul li a:hover { color: var(--color-accent) !important; }
/* Cap the desktop dropdown height so long lists stay within the banner and scroll */
.stellarnav.desktop > ul > li > ul {
    max-height: 440px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) var(--color-brand-2);
}
.stellarnav.desktop > ul > li > ul::-webkit-scrollbar { width: 8px; }
.stellarnav.desktop > ul > li > ul::-webkit-scrollbar-track { background: var(--color-brand-2); }
.stellarnav.desktop > ul > li > ul::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }

.header-icons { list-style: none; margin-bottom: 0; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.header-icons li { margin: 0; }
.header-icons .icon { display: inline-flex; align-items: center; gap: 8px; color: var(--color-brand); font-size: 14px; font-weight: 600; }
.header-icons .icon i { font-size: 20px; }
.header-icons .icon:hover,
.header-icons .icon:hover i { color: var(--color-accent); }

/* Header search bar */
.header-search { width: 100%; }
.header-search .form-control {
    height: 44px; border: 1px solid var(--color-line); border-right: 0;
    border-radius: 6px 0 0 6px; box-shadow: none; font-size: 14px;
}
.header-search .form-control:focus { border-color: var(--color-accent); box-shadow: none; }
.header-search .btn {
    height: 44px; padding: 0 20px; border: 0; border-radius: 0 6px 6px 0;
    background: var(--color-brand); color: #fff; font-size: 16px;
}
.header-search .btn:hover { background: var(--color-accent); color: #fff; }

/* Primary navigation bar (full-width row under the header) */
.main-nav { background: var(--color-surface); border-bottom: 1px solid var(--color-line); }
.main-nav .stellarnav { text-align: center; }
.main-nav .stellarnav > ul { text-align: center; }
.main-nav .stellarnav.desktop > ul > li > ul { text-align: left; }

@media (max-width: 991px) {
    .header-icons { gap: 16px; }
    .header-icons .icon span { display: none; }
    .header-icons .icon i { font-size: 22px; }
    .main-nav .stellarnav { text-align: left; }
    .main-nav .stellarnav > ul { text-align: left; }
}

/* ============================================================
   HERO / MAIN CAROUSEL
   ============================================================ */
.carousel-inner img { display: block; width: 100%; height: clamp(320px, 34vw, 560px); object-fit: cover; }
.carousel-item > a { position: relative; display: block; }
.slider-data {
    display: flex; position: absolute; top: 0; left: 0; right: 0;
    width: 100%; height: 100%; margin: auto; padding: 50px;
    flex-direction: column; justify-content: center; align-items: flex-start;
    text-align: left;
    background: linear-gradient(90deg, rgba(10,20,15,.65) 0%, rgba(10,20,15,.25) 55%, rgba(10,20,15,0) 100%);
}
.slider-data h1,
.slider-data h2,
.slider-data .slider-title {
    font-size: clamp(34px, 5vw, 56px); color: #fff; margin: 0 0 14px;
    line-height: 1.05; font-weight: 700;
}
.slider-data p.ttitle,
.slider-data p {
    font-size: 18px; color: #f1f1f1; margin: 0; line-height: 1.5; max-width: 560px;
}
.btngrpp { margin-top: 20px; }
.slider-data { pointer-events: none; }
.slider-data a, .slider-data .btns { pointer-events: auto; }
.btngrpp .btns { position: relative; z-index: 20; background: #fff; color: var(--color-ink); }
.btngrpp .btns:hover { background: var(--color-accent); color: #fff; }

.carousel-control-prev,
.carousel-control-next { pointer-events: none; }
.carousel-control-prev-icon,
.carousel-control-next-icon { pointer-events: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }

/* ============================================================
   FOOTER (redesigned: brand-first, 3 link columns, socials)
   ============================================================ */
.site-footer { background: var(--color-brand-2); }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--color-accent); }
.footer-heading {
    color: var(--color-accent); text-transform: uppercase; letter-spacing: .04em;
    font-size: 13px; font-weight: 700; margin-bottom: 16px; white-space: nowrap;
}
.footer-about {
    color: rgba(255,255,255,.75);
    font-size: 14px; line-height: 1.7;
}
.footer-link-accent { color: var(--color-accent) !important; font-weight: 600; font-size: 14px; }
.footer-cols ul li { margin-bottom: 8px; }
.footer-cols ul li a { font-size: 14px; }
.footer-social a {
    display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff !important;
    margin: 0 8px 8px 0; font-size: 15px; transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
}
.footer-social a:hover {
    background: var(--color-accent); border-color: var(--color-accent);
    color: var(--color-brand-2) !important; transform: translateY(-2px);
}
.footer-contact li { margin-bottom: 10px; }
.footer-contact a, .footer-support-hours { display: flex; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.footer-contact i, .footer-support-hours i { color: var(--color-accent); width: 20px; margin-right: 8px; margin-top: 3px; flex-shrink: 0; }
.footer-support-hours { color: rgba(255,255,255,.82); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.72); }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,.5); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.heading {
    font-size: 32px; color: var(--color-ink); font-weight: 700;
    font-family: var(--font-display);
}
.section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.view-all {
    color: var(--color-brand); font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 6px;
}
.view-all:hover { color: var(--color-accent); }

.catgebox .cat-sub { text-align: center; font-size: 12px; color: var(--color-ink-soft); margin-top: 2px; }
.catgebox .cat-price { text-align: center; font-size: 14px; font-weight: 700; color: var(--color-accent); margin-top: 2px; }

.tops { position: relative; padding: 48px 0; background: var(--color-bg); border-top: 1px solid var(--color-line); }
.tops .section-head { justify-content: center; text-align: center; }
.tops-rows { display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   CATEGORY CARDS / TILES
   ============================================================ */
.cate, .prod { background: transparent; }

.catgebox {
    padding: 14px; background: var(--color-surface);
    border: 1px solid var(--color-line); border-radius: var(--radius);
    border-bottom: 3px solid var(--color-accent);
    display: flex; flex-direction: column; height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}
.catgebox:hover { box-shadow: 0 8px 24px rgba(31,77,58,.12); transform: translateY(-3px); }
.catgebox img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; }
.catetext {
    display: flex; align-items: center; justify-content: center;
    text-align: center; min-height: 64px; padding: 10px 6px 4px;
}
.catetext h3, .catetext h4 { margin: 0; width: 100%; }
.catetext h3 a,
.catetext h4 a {
    color: var(--color-ink); font-size: 16px; font-weight: 600;
    font-family: var(--font-body);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
}
.catetext h3 a:hover, .catetext h4 a:hover { color: var(--color-accent); }

/* Owl equal-height items */
.cat-slider .owl-stage { display: flex; }
.cat-slider .owl-item { display: flex; height: auto; }
.cat-slider .catgebox { width: 100%; }
.tops-slider .owl-stage { display: flex; }
.tops-slider .owl-item { display: flex; height: auto; }
.tops-slider .product-grid { width: 100%; margin-bottom: 0; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 0; margin-bottom: 20px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.product-grid:hover { box-shadow: 0 8px 24px rgba(31,77,58,.12); transform: translateY(-3px); }
.product-grid .product-image { position: relative; overflow: hidden; }
.product-grid .product-image a.image { display: block; overflow: hidden; position: relative; width: 100%; max-width: 300px; aspect-ratio: 1 / 1; margin: 0 auto; }
.product-grid .product-image img,
.product-image .pic-1,
.product-image .pic-2 {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease, opacity .4s ease;
}
.product-image .pic-2 { opacity: 0; }
.product-grid:hover .product-image .pic-2 { opacity: 1; }
.product-grid:hover .product-image .pic-1 { transform: scale(1.05); }
.product-grid .product-content {
    padding: 14px 16px 18px; text-align: left;
    display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.product-grid .title {
    font-size: 16px; text-transform: capitalize; margin: 0;
    text-align: left; line-height: 1.35; min-height: 43px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-grid .title a {
    color: var(--color-ink); font-weight: 600; font-family: var(--font-body);
    letter-spacing: 0;
}
.product-grid .title a:hover { color: var(--color-accent); }
.product-grid .price {
    color: var(--color-accent); font-size: 16px; font-weight: 700; margin: 0;
}
.product-grid .price span { color: var(--color-ink-soft); text-decoration: line-through; font-weight: 400; }
.infos { display: flex; flex-direction: column; align-items: stretch; gap: 8px; flex: 1; }
.add-to-cart {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; height: 40px; color: #fff; line-height: 1; font-size: 14px; font-weight: 600;
    padding: 0 14px; background: var(--color-brand); border-radius: 6px;
    border: 1px solid var(--color-brand); margin-top: auto;
}
.add-to-cart:hover { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }
/* Products section headings */
.prod .heading {
    background: transparent; color: var(--color-ink);
    padding: 0; border-radius: 0;
}
/* ============================================================
   PRODUCT DETAIL — MAIN IMAGE BOX
   ============================================================ */
.product-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
}
.product-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

/* ============================================================
   GLOBAL FIX: Box Style & Text Selection Boundary
   Applies to BOTH Product Tabs & Category Descriptions
   ============================================================ */

/* 1. Create the card box container structure */
.tab-content, 
#description, 
.product-description-panel,
.category-description,
.term-description,
.cat-desc-block {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-line) !important;
    border-radius: var(--radius) !important;
    padding: 30px !important; /* Nice breathing room inside the box */
    margin-top: 15px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    overflow: hidden !important; /* Clips the blue text-highlight inside the borders */
}

/* 2. Lock text elements inside the container boundaries */
.tab-content p, .tab-content h1, .tab-content h2, .tab-content h3, .tab-content div,
.category-description p, .category-description h1, .category-description h2, .category-description h3,
.term-description p, .term-description h1, .term-description h2, .term-description h3 {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about img { object-fit: cover; border-radius: var(--radius); }
.about .heading { margin-bottom: 16px; }
.abt img { width: 450px; float: left; margin-right: 20px; border-radius: var(--radius); }

/* ============================================================
   WHY BOX (SEO / features) — restyled to light surface
   ============================================================ */
.whybox {
    background: var(--color-brand);
    color: var(--color-brand-ink);
    padding: 56px 0;
}
.whybox .heading,
.whybox h2, .whybox h3,
.whybox .text-white { color: var(--color-brand-ink) !important; }
.whybox p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.7; }
.whybox p a { color: var(--color-accent); text-decoration: underline; }
.whybox p a:hover { color: #fff; }

.whyitem {
    padding: 30px 24px; margin-bottom: 24px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
}
.whyitem h3, .whyitem h4 {
    color: var(--color-accent); font-size: 20px; font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 10px; margin-bottom: 12px;
}
.whyitem p { font-size: 15px; color: rgba(255,255,255,.85); }

/* ============================================================
   CALL TO ACTION
   ============================================================ */
.callto {
    background: var(--color-brand); color: var(--color-brand-ink);
    padding: 50px 0; position: relative; z-index: 1;
}
.callto h2, .callto .heading { color: #fff; }
.callto p { color: rgba(255,255,255,.85); }

/* ============================================================
   CONTACT / QUERY FORM
   ============================================================ */
.quikc { background: var(--color-brand); }
.quikc .heading, .quikc .text-white { color: #fff; }
.conform, .coninfo { padding: 40px 20px; }
.conform .heading { color: #fff; }
.conform input, .conform textarea,
.contact-form input, .contact-form textarea {
    border: 1px solid var(--color-line); border-radius: 6px;
    background: #fff; color: var(--color-ink);
}
.conform input { height: 50px; }
.coninfo { background: var(--color-brand-2); color: #fff; border-radius: var(--radius); }
.contbox { text-align: center; }
.contbox h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.c-heading { color: var(--color-ink); font-weight: 700; }
.video { position: relative; height: 100%; max-height: 550px; border-radius: var(--radius); object-fit: cover; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--color-bg); }
.testbox {
    background: var(--color-surface); padding: 34px;
    border: 1px solid var(--color-line); border-radius: var(--radius);
}
.testbox p { color: var(--color-ink); font-size: 16px; margin-bottom: 0; line-height: 1.6; }
.testbox .testimg img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 10px; }
.testcon { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-line); }
.testcon h3, .testcon h4, .testcon h5, .testcon h6 { color: var(--color-ink); }
.testcon h4 { color: var(--color-accent); font-size: 14px; }

/* ============================================================
   BREADCRUMB / INNER BANNER
   ============================================================ */
.inner-banner {
    position: relative; background-position: center; background-size: cover;
    background-color: var(--color-brand);
}
.inner-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(10,20,15,.75), rgba(10,20,15,.35));
}
.inner-bg2 { background-image: url(../images/contact-bg.webp); }
.inner-banner .inner-title {
    position: relative; z-index: 1; padding: 50px 0;
}
.inner-banner .inner-title h1 { font-size: 44px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.inner-banner ul { text-align: left; list-style: none; }
.inner-banner .inner-title ul li {
    font-size: 15px; color: #fff; display: inline-block; margin: 0 5px; font-weight: 500;
}
.inner-banner .inner-title ul li a {
    background: var(--color-accent); color: #fff; padding: 6px 14px; border-radius: 6px;
}
.inner-banner .inner-title ul li a:hover { background: var(--color-accent-2); }

/* ============================================================
   BLOG
   ============================================================ */
.blogbox { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.blogbox img { width: 100%; height: 260px; object-fit: cover; margin-bottom: 16px; }
.blogbox h3 { padding: 0 16px; }
.blogbox h3 a { color: var(--color-ink); font-family: var(--font-display); }
.blogbox h3 a:hover { color: var(--color-accent); }
.blog-feature-img img { width: 100%; border-radius: var(--radius); }
.blog-details__title { color: var(--color-ink); font-weight: 700; }
.aside-right, .inner-aside { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); }

/* ============================================================
   CONTACT INFO STRIP + FOOTER
   ============================================================ */
.bbox { background: var(--color-brand-2); padding: 40px 0; color: #fff; }
.bbox {
    background-image: linear-gradient(rgba(10,20,15,.82), rgba(10,20,15,.82)), url('../images/contact-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.coninfoa { display: flex; gap: 15px; justify-content: center; align-items: center; }
.contboxa h2 { color: #fff; margin-bottom: 4px; font-size: 1.25rem; font-weight: 500; line-height: 1.2; }
.contboxa p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.iconboxa {
    font-size: 18px; background: var(--color-accent); width: 60px; height: 60px;
    color: #fff; text-align: center; line-height: 60px; border-radius: 50%; flex: 0 0 60px;
}

.bgaddark, footer.bgaddark {
    background: var(--color-brand); color: #fff; position: relative; z-index: 1;
}

footer {
    background: var(--color-brand); color: #fff; padding: 48px 0 24px; font-size: 14px;
}
footer p { font-size: 13px; color: rgba(255,255,255,.85); }
footer a, footer .text-white { color: rgba(255,255,255,.85) !important; }
footer a:hover { color: #fff !important; text-decoration: underline; }
footer h5 {
    color: #fff; border-bottom: 1px solid rgba(255,255,255,.25);
    display: inline-block; padding-bottom: 4px;
}
footer ul li { font-size: 14px; margin-bottom: 10px; list-style: none; }
footer img { width: 200px; }

/* ============================================================
   CART
   ============================================================ */
.cart-table th { background: var(--color-brand); color: #fff; border-color: var(--color-brand); }
.cart-table td, .cart-table th { vertical-align: middle !important; color: var(--color-ink); }
.table-bordered td, .table-bordered th { color: var(--color-ink); }
.cart-table img { width: 100px; }
.chk-table td { color: var(--color-ink); }
.total-p.bold { margin-bottom: 10px; font-size: 20px; }
.table > :not(caption) > * > * { padding: 1.2rem .5rem; vertical-align: middle; }

.select-box { padding: 6px 20px; border: 1px solid var(--color-line); border-radius: 6px; height: 50px; }

/* Quantity selector */
.quantity { position: relative; display: flex; flex-wrap: wrap; align-content: center; align-items: center; }
.quantity input { width: 60px; height: 40px; line-height: 1.65; display: block; padding: 0; margin: 0 5px; text-align: center; border: 1px solid var(--color-line); border-radius: 6px; }
.quantity-nav { display: flex; flex-wrap: nowrap; margin-right: 20px; }
.quantity-button { position: relative; cursor: pointer; color: var(--color-ink); font-size: 13px; line-height: 1.7; display: block; user-select: none; }
.quantity-button.quantity-down, .quantity-button.quantity-up { height: 40px; width: 40px; line-height: 37px; font-size: 26px; color: var(--color-brand); border: 1px solid var(--color-line); font-weight: 300; text-align: center; border-radius: 6px; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* ============================================================
   CHECKOUT
   ============================================================ */
.chk-heading {
    text-transform: uppercase; background: var(--color-brand); color: #fff;
    padding: 10px 14px; margin-bottom: 0; font-size: 18px; font-weight: 700; border-radius: 6px 6px 0 0;
}
.order-detail-box { padding: 15px; border: 1px solid var(--color-line); border-radius: var(--radius); }
.order-detail-table { padding: 10px; box-sizing: border-box; }
.chk-form .form-control { margin-bottom: 0; border-radius: 6px; }

.payment-option { margin-top: 20px; }
.payment-option li .crd .p-add { padding: 20px; background: var(--color-bg); display: none; border-radius: 6px; }
.payment-option [type=radio]:checked, .payment-option [type=radio]:not(:checked) { position: absolute; left: -9999px; }
.payment-option [type=radio]:checked + label, .payment-option [type=radio]:not(:checked) + label {
    position: relative; padding-left: 28px; cursor: pointer; line-height: 20px; display: inline-block;
    color: var(--color-ink); font-weight: 600;
}
.payment-option [type=radio] + label:before {
    content: ''; position: absolute; left: 0; top: 0; width: 21px; height: 21px;
    border: 1px solid var(--color-line); border-radius: 100%; background: #fff;
}
.payment-option [type=radio] + label:after {
    content: ''; width: 11px; height: 11px; background: var(--color-accent);
    position: absolute; top: 5px; left: 5px; border-radius: 100%; transition: .2s;
}
.payment-option [type=radio]:not(:checked) + label:after { opacity: 0; transform: scale(0); }
.payment-option [type=radio]:checked + label:after { opacity: 1; transform: scale(1); }
.payment-option li [type=radio]:checked ~ .p-add { display: block; }

.diff-add, .show-pass { display: none; }
.chk-show:checked ~ .diff-add, .chk-show:checked ~ .show-pass { display: block; }
.show-password label { width: calc(100% - 25px); color: var(--color-ink-soft); }
.show-password input[type=checkbox] { margin-right: 10px; width: 15px; float: left; margin-top: 5px; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-details h2 { color: var(--color-ink); }
.category ul { display: flex; margin-bottom: 12px; list-style: none; }
.category ul li { color: var(--color-ink); }
select#v-price { margin-left: 20px; }
.product-details .price .current { color: var(--color-accent); font-weight: 700; }
.product-details h3.price { font-size: 1.5rem; }

/* Tabs */
.tab {
    cursor: pointer; padding: 10px 20px; margin: 0; background: var(--color-brand);
    display: inline-block; color: #fff; border-radius: 10px 10px 0 0 !important;
}
.nav-tabs { border-bottom: 1px solid var(--color-line); padding-bottom: 8px; }
.nav-tabs li a { color: var(--color-ink); padding: 10px 20px; background: var(--color-bg); border-radius: 6px 6px 0 0; }
.nav-tabs li a.active { background: var(--color-brand); color: #fff; }

.panel { display: none; animation: .8s fadein; }
.panel.panel-default { display: block; margin-top: 50px; }
.panel-default > .panel-heading { color: var(--color-ink); background: 0 0; border: none; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* Reviews */
.review-comment { border-bottom: 1px solid var(--color-line); margin-bottom: 20px; }
.review-form .form-control { margin-bottom: 20px; }
.review-date { float: right; }

/* Star rating input */
.star-rating__input { display: none; }
.star-rating__wrap { display: inline-block; font-size: 1rem; margin-left: 10px; }
.star-rating__wrap:after { content: ""; display: table; clear: both; }
.star-rating__wrap .fa.fa-star { float: right; padding-left: 4px; cursor: pointer; color: var(--color-line); font-size: 20px; }
.fa.fa-star:last-child { padding-left: 0; }
.product-rating .fa.fa-star.active,
.star-rating__input:checked ~ .fa.fa-star:before,
.star-rating__wrap .fa.fa-star:hover:before,
.star-rating__wrap .fa.fa-star:hover ~ .fa.fa-star:before { color: var(--color-accent); }

/* ============================================================
   ACCOUNT
   ============================================================ */
.box { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); }
.box.box-primary { border-top: 3px solid var(--color-brand); }
.box-body { padding: 20px; }
.box-profile { text-align: center; }
.profile-username { color: var(--color-ink); }
.list-group-unbordered .list-group-item { border-left: 0; border-right: 0; border-radius: 0; }
#account-panel .nav-item { float: none; }
#account-panel .nav-link { background: var(--color-brand); color: #fff; margin-bottom: 10px; display: block; float: none; border-radius: 6px; }
#account-panel .nav-link:hover { background: var(--color-accent); }
#account-panel .nav-link i { margin-right: 5px; }
.card { border: 1px solid var(--color-line); border-radius: var(--radius); }
.card-header { background: var(--color-bg); border-bottom: 1px solid var(--color-line); }
.forgot-p { display: block; margin-bottom: 20px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-content { background-color: var(--color-surface); color: var(--color-ink); border-radius: var(--radius); }
.search input { height: 50px; border-radius: 6px; }

/* ============================================================
   MISC
   ============================================================ */
.img-fluid { width: 100%; }
p.error.invalid-feedback { font-size: 12px; color: #c1432f; }
input.form-control.is-invalid { border-color: #c1432f; }


/* ============================================================
   GLOBAL FIX: Text Selection Boundary Fix (Desktop & Mobile)
   ============================================================ */
.tab-content, 
#description,
[class*="tab-pane"] {
    position: relative;
    overflow: hidden; /* Stops the blue highlight color from bleeding outside the box borders */
}

.tab-content p,
.tab-content h1,
.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content div {
    max-width: 100%;
    box-sizing: border-box; 
}

/* ==========================================================================
   1. PERFORMANCE & CLS (CUMULATIVE LAYOUT SHIFT) PREVENTION
   ========================================================================== */

/* Reserve space for Font Awesome icons before deferred webfonts load */
i.fa, i.fas, i.far, i.fab, i.fal, i.fad,
i[class^="fa-"], i[class*=" fa-"] { 
    display: inline-block; 
    min-width: 1em; 
    min-height: 1em; 
}

/* Reserve hero carousel height so the layout never collapses/expands */
#demo .carousel-inner, #demo .carousel-item { 
    min-height: clamp(320px, 34vw, 560px); 
}


/* ==========================================================================
   2. FLOATING CHET / TEXT WIDGET (BOTTOM-LEFT)
   ========================================================================== */

/* Widget Container */
.chat-widget {
    position: fixed;
    left: 20px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* Hidden State for Option Menu Links */
.chat-widget .chat-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

/* Hover, Focus, & Active States to Reveal Menu Options */
.chat-widget:hover .chat-options,
.chat-widget:focus-within .chat-options,
.chat-widget.open .chat-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Individual Channel Options (WhatsApp / Telegram) */
.chat-widget .chat-opt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    padding: 11px 16px;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.chat-widget .chat-opt i { 
    font-size: 20px; 
}

.chat-widget .chat-opt:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 22px rgba(0,0,0,.32);
    color: #fff;
    filter: brightness(1.05);
}

/* Brand Colors */
.chat-widget .chat-wa { background: #25D366; }
.chat-widget .chat-tg { background: #229ED9; }

/* Main Trigger Button */
.chat-widget .chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border: none;
    cursor: pointer;
    border-radius: 30px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(135deg, var(--color-brand, #0b5d3b), var(--color-accent, #c98a3a));
    box-shadow: 0 8px 22px rgba(0,0,0,.3);
    animation: chatPulse 2.4s infinite;
}

.chat-widget .chat-toggle i { 
    font-size: 20px; 
}

.chat-widget .chat-toggle:hover { 
    filter: brightness(1.06); 
}

.chat-widget.open .chat-toggle .chat-caret { 
    transform: rotate(180deg); 
}

.chat-widget .chat-caret { 
    transition: transform .25s ease; 
    font-size: 13px; 
}


/* ==========================================================================
   3. ANIMATIONS
   ========================================================================== */

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,.3); }
    50% { box-shadow: 0 8px 30px rgba(201,138,58,.55); }
}


/* ==========================================================================
   4. RESPONSIVE MEDIA QUERIES (MOBILE OPTIMIZATION)
   ========================================================================== */

@media (max-width: 575px) {
    .chat-widget { 
        left: 12px; 
        bottom: 16px; 
    }
    .chat-widget .chat-opt { 
        min-width: 180px; 
    }
    .chat-widget .chat-toggle { 
        font-size: 14px; 
        padding: 12px 16px; 
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media only screen and (max-width: 600px) {
    .heading { font-size: 26px; }
    .iconboxa { display: none; }
    .coninfoa { justify-content: start; }
    .slider-data { padding: 24px; }
    .slider-data p { font-size: 13px; line-height: 20px; }
    .carousel-inner img { height: 340px; }
    .slider-data { padding: 24px; }
    .slider-data p { font-size: 15px; }
    .whybox { padding: 30px 0; }
    .about img { width: 100%; }
    .abt img { width: 100%; float: none; margin: 0 0 20px; }
    .logo img { max-width: 160px; }
    .video { height: auto; }

    /* ========================================================
       NEW AGGRESSIVE FIXES
       ======================================================== */
    
    /* 1. FORCE DROPDOWN MENU TEXT TO BE WHITE */
    /* This overrides deeply nested styles by targeting list links directly */
    ul li a, 
    .mobile-menu ul li a, 
    nav ul li a, 
    div[class*="menu"] ul li a { 
        color: #ffffff !important; 
    }

    /* 2. PREVENT EMAIL BREAKING TO A SECOND LINE */
    /* We change the columns to stack 100% wide so the email has room to breathe */
    .footer-section, 
    footer .row, 
    footer [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }

    /* Target the email link specifically to stay on one single line */
    footer a[href^="mailto:"], 
    .connect-with-us a {
        white-space: nowrap !important; /* Forces text to stay on one line */
        word-break: keep-all !important;  /* Stops characters from snapping */
        font-size: 13px !important;      /* Slightly scales down text size so it fits perfectly */
    }
}