/* ============================================================
   CSS VARIABLES  –  mirroring the Bacola / WordPress theme
============================================================ */
:root {
  /* Brand colours */
  --color-primary:      #233a95;
  --color-secondary:    #2bbef9;
  --color-accent:       #dd9933;
  --color-danger:       #ea2b0f;
  --color-danger-light: #fff1ee;
  --color-danger-dark:  #c0300a;
  --color-success:      #28a745;
  --color-rating:       #ffcd00;
  --color-info:         #9b9bb4;
  --color-info-light:   #f7f8fd;
  --color-info-dark:    #71778e;

  /* Text */
  --color-text:         #202435;
  --color-text-light:   #3e445a;
  --color-text-lighter: #71778e;
  --color-placeholder:  #9b9bb4;
  --color-price:        #202435;

  /* Backgrounds / borders */
  --color-background:       #f7f8fd;
  --color-form-background:  #f3f4f7;
  --color-border:           #e3e4e6;
  --color-border-light:     #edeef5;
  --color-border-dark:      #d9d9e9;

  /* Fonts */
  --font-primary:   "Inter", sans-serif;
  --font-secondary: "Dosis", sans-serif;

  /* Misc */
  --size-border-radius: 6px;
  --size-form-radius:   6px;
}

/* ============================================================
   BASE RESET / GLOBAL
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  margin: 0;
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   OFF-CANVAS SIDEBAR  (mobile hamburger menu)
============================================================ */
.offcanvas {
  font-family: var(--font-primary);
}

.offcanvas-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.offcanvas-header-brand img {
  width: 127px;
  height: auto;
}

.canvas-nav .nav-link {
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: color 0.2s;
}

.canvas-nav .nav-link:hover,
.canvas-nav .nav-link.active {
  color: var(--color-secondary);
}

.canvas-title {
  font-family: var(--font-secondary);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-info);
  margin-bottom: 0.75rem;
}

.offcanvas-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

.offcanvas-footer p {
  font-size: 0.75rem;
  color: var(--color-info);
  margin: 0;
}

/* ============================================================
   HEADER MAIN  (logo + search)
============================================================ */
.header-main {
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
}

.sticky-header .header-main {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid #e3e4e6;
  padding-top: 15px;
  padding-bottom: 15px;
}

.site-header .header-main .site-brand img.desktop-logo { width: 150px; }
.site-header .header-main .site-brand img.mobile-logo  { width: 99px; }

/* ============================================================
   HEADER NAV  (horizontal menu strip below header-main)
============================================================ */
.header-nav {
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
}

.primary-menu .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.primary-menu .menu .menu-item > a {
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 1.125rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.primary-menu .menu .menu-item > a:hover,
.primary-menu .menu .menu-item.current-menu-item > a {
  color: var(--color-accent);
  background-color: #000;
}

/* ============================================================
   HERO SECTION  (2-column banner images)
============================================================ */
/* Uncomment if hover zoom is needed:
.hero-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: var(--size-border-radius);
}
.hero-img-wrap img {
  width: 100%;
  transition: transform .35s ease;
}
.hero-img-wrap:hover img { transform: scale(1.035); }
*/

/* ============================================================
   DISCOUNT BANNER
============================================================ */
.discount-section {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.discount-section img {
  max-width: 300px;
  width: 100%;
}

/* ============================================================
   CATEGORY GRID
============================================================ */
.category-section {
  padding-bottom: 2rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.category-item {
  display: block;
  overflow: hidden;
  border-radius: var(--size-border-radius);
  background: var(--color-info-light);
}

.category-item img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.category-item:hover img {
  transform: scale(1.04);
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero .entry-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-hero .entry-subtitle {
  font-size: 1rem;
  color: var(--color-text-lighter);
}

.about-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ============================================================
   CONTACT PAGE  –  icon boxes
============================================================ */
.klb-icon-box.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.875rem;
  border: 3px solid #000;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  background-color: var(--color-info-light);
  text-align: center;
}

.klb-icon-box.contact-icon i {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.klb-icon-box.contact-icon .entry-title {
  font-size: 15px;
  font-weight: 500;
}

.klb-icon-box.contact-icon p {
  font-size: 0.8125rem;
}

/* ============================================================
   CONTACT PAGE  –  map
============================================================ */
.contact-map {
  border: 3px solid #000;
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.08);
  margin: 30px 10px 20px 10px;
}

/* ============================================================
   CONTACT PAGE  –  form wrapper
============================================================ */
.klb-contact-form.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
  border: 3px solid #000;
  box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.08);
  padding: 20px;
}

@media screen and (min-width: 60rem) {
  .klb-contact-form.contact-form-wrapper {
    padding-top: 5.625rem;
    padding-bottom: 5.625rem;
  }
}

.klb-contact-form.contact-form-wrapper .form-wrapper {
  max-width: 47.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.klb-contact-form.contact-form-wrapper .form-wrapper .contact-header {
  padding-bottom: 2.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--color-border-light);
  text-align: center;
}

.klb-contact-form.contact-form-wrapper .contact-header p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.klb-contact-form.contact-form-wrapper .form-wrapper .wpcf7-form label {
  font-size: 0.8125rem;
}

.klb-contact-form.contact-form-wrapper .form-wrapper .wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 0.75rem;
}

.klb-contact-form.contact-form-wrapper .form-wrapper .wpcf7-form .wpcf7-form-control {
  height: 2.875rem;
  width: 100%;
  padding: 0 0.75rem;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--size-form-radius);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  color: var(--color-text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.klb-contact-form.contact-form-wrapper .form-wrapper .wpcf7-form .wpcf7-form-control:focus {
  border-color: var(--color-primary);
}

.klb-contact-form.contact-form-wrapper .form-wrapper .wpcf7-form .wpcf7-form-control.wpcf7-textarea {
  min-height: 120px;
  resize: none;
  padding-top: 0.5rem;
  height: auto;
}

.klb-contact-form.contact-form-wrapper .form-wrapper .wpcf7-form .wpcf7-form-control.wpcf7-submit {
  width: auto;
  height: auto;
  font-size: 0.8125rem;
  padding: 0.625rem 2.25rem;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--size-form-radius);
  cursor: pointer;
  transition: background-color 0.2s;
}

.klb-contact-form.contact-form-wrapper .form-wrapper .wpcf7-form .wpcf7-form-control.wpcf7-submit:hover {
  background-color: #1a2d7a;
}

/* ============================================================
   FOOTER  –  contacts bar
============================================================ */
.phone-detail .entry-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 2px;
  color: var(--color-text);
}

.phone-detail span {
  font-size: 0.8125rem;
  color: var(--color-text-lighter);
}

/* ============================================================
   FOOTER  –  social icons
============================================================ */
.site-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
}

.site-social ul li a {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.site-social ul li a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ============================================================
   FOOTER  –  bottom bar
============================================================ */
.site-copyright p {
  font-size: 0.75rem;
  color: #9b9bb4;
  margin: 0;
  letter-spacing: -0.1px;
  line-height: 1.5;
}

.site-payments img {
  max-height: 28px;
  width: auto;
}

/* ============================================================
   BACK-TO-TOP BUTTON
============================================================ */
.scrollToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  box-shadow: 0 0 5px rgb(0 0 0 / 17%);
  text-align: center;
  line-height: 50px;
  opacity: 0;
}

.scrollToTop.button-show {
  opacity: 1;
  z-index: 9999;
}

.scrollToTop:after {
  display: inline-block;
  font-size: 30px;
  content: "\e8c2";
  font-family: "klbtheme";
}

/* ============================================================
   RESPONSIVE OVERRIDES
============================================================ */
@media (max-width: 767px) {
  .desktop-logo {
    display: none !important;
  }

  .header-nav {
    display: none;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .mobile-logo {
    display: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}