/*
Theme Name: OliBoli
Theme URI:
Description: OliBoli WooCommerce Theme
Author: Frontend Visuals
Author URI: https://frontend-visuals.co.za
Version: 1.0
Tags: Shoes, Baby, Kids, Fashion, WooCommerce, Shop
*/

/*
|--------------------------------------------------------------------------
| FONT IMPORT
|--------------------------------------------------------------------------
*/
@import url(
  'https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap'
);
/*
|--------------------------------------------------------------------------
| GLOBAL COLOURS
|--------------------------------------------------------------------------
*/
:root {
  /*
  |--------------------------------------------------------------------------
  | BRAND COLOURS
  |--------------------------------------------------------------------------
  */
  --color-primary: #006d73;
  --color-primary-dark: #00585d;
  --color-primary-light: #7eb1aa;
  --color-secondary: #ff8978;
  --color-accent: #f4c95d;
  /*
  |--------------------------------------------------------------------------
  | TEXT COLOURS
  |--------------------------------------------------------------------------
  */
  --color-text: #3f3f3f;
  --color-text-dark: #2e2e2e;
  --color-muted: #777777;
  --color-light-text: #ffffff;
  /*
  |--------------------------------------------------------------------------
  | BACKGROUND COLOURS
  |--------------------------------------------------------------------------
  */
  --color-white: #ffffff;
  --color-background: #ffffff;
  --color-background-light: #f8f8f8;
  --color-background-dark: #006d73;
  /*
  |--------------------------------------------------------------------------
  | BORDERS
  |--------------------------------------------------------------------------
  */
  --color-border: #ededed;
  --color-border-dark: #d6d6d6;
  /*
  |--------------------------------------------------------------------------
  | FORMS
  |--------------------------------------------------------------------------
  */
  --form-background: #ffffff;
  --form-border: #dedede;
  /*
  |--------------------------------------------------------------------------
  | TRANSITIONS
  |--------------------------------------------------------------------------
  */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}
/*
|--------------------------------------------------------------------------
| GLOBAL RESET
|--------------------------------------------------------------------------
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
/*
|--------------------------------------------------------------------------
| GLOBAL LINKS
|--------------------------------------------------------------------------
*/
a {
  color: inherit;
  text-decoration: none;
  transition:
      color var(--transition-normal);
}
a:hover {
  color: var(--color-primary);
}
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
/*
|--------------------------------------------------------------------------
| GLOBAL HEADINGS
|--------------------------------------------------------------------------
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--color-text-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}
h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}
/*
|--------------------------------------------------------------------------
| PARAGRAPHS
|--------------------------------------------------------------------------
*/
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
/*
|--------------------------------------------------------------------------
| IMAGES
|--------------------------------------------------------------------------
*/
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
/*
|--------------------------------------------------------------------------
| HORIZONTAL RULE
|--------------------------------------------------------------------------
*/
hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}
/*
|--------------------------------------------------------------------------
| BUTTONS
|--------------------------------------------------------------------------
*/
button,
.btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-block;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
      background-color var(--transition-normal),
      border-color var(--transition-normal),
      color var(--transition-normal),
      transform var(--transition-fast);
}
button:hover,
.btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}
button:focus-visible,
.btn:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}
/*
|--------------------------------------------------------------------------
| PRIMARY BUTTON
|--------------------------------------------------------------------------
*/
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}
/*
|--------------------------------------------------------------------------
| FORMS
|--------------------------------------------------------------------------
*/
input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--form-border);
  border-radius: 6px;
  background-color: var(--form-background);
  color: var(--color-text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
  transition:
      border-color var(--transition-normal),
      box-shadow var(--transition-normal);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow:
      0 0 0 3px rgba(0, 109, 115, 0.12);
}
input::placeholder,
textarea::placeholder {
  color: var(--color-muted);
  opacity: 1;
}
/*
|--------------------------------------------------------------------------
| NUMBER INPUTS
|--------------------------------------------------------------------------
*/
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
input[type='number'] {
  -moz-appearance: textfield;
}
/*
|--------------------------------------------------------------------------
| CHECKBOXES & RADIO BUTTONS
|--------------------------------------------------------------------------
*/
input[type='checkbox'],
input[type='radio'] {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--color-border-dark);
  background-color: var(--color-white);
  cursor: pointer;
}
input[type='checkbox'] {
  border-radius: 4px;
}
input[type='radio'] {
  border-radius: 50%;
}
input[type='checkbox']:checked,
input[type='radio']:checked {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}
input[type='checkbox']:checked::after {
  content: '\f00c';
  display: block;
  color: var(--color-white);
  font-family: 'Font Awesome 6 Free';
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}
input[type='radio']:checked::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  margin: 5px;
  border-radius: 50%;
  background-color: var(--color-white);
}
/*
|--------------------------------------------------------------------------
| FORM LABELS
|--------------------------------------------------------------------------
*/
label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--color-text-dark);
  font-weight: 600;
}
form.wpcf7-form label {
  width: 100%;
}
/*
|--------------------------------------------------------------------------
| STRONG TEXT
|--------------------------------------------------------------------------
*/
b,
strong {
  font-weight: 700;
}
/*
|--------------------------------------------------------------------------
| WOOCOMMERCE FORM CONTROLS
|--------------------------------------------------------------------------
*/
.woocommerce .form-row input.input-text,
.woocommerce .form-row textarea {
  width: 100%;
}
.woocommerce form .form-row {
  margin-bottom: 20px;
}
.woocommerce form .form-row label {
  margin-bottom: 6px;
}
/*
|--------------------------------------------------------------------------
| GLOBAL UTILITY CLASSES
|--------------------------------------------------------------------------
*/
.text-primary {
  color: var(--color-primary) !important;
}
.text-muted {
  color: var(--color-muted) !important;
}
.bg-primary {
  background-color: var(--color-primary) !important;
}
.bg-light {
  background-color: var(--color-background-light) !important;
}
/*
|--------------------------------------------------------------------------
| SLICK SLIDER STYLES
|--------------------------------------------------------------------------
*/
.slick-prev-btn,
.slick-next-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 55px;
  height: 55px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
      background-color var(--transition-normal);
}
.slick-prev-btn:hover,
.slick-next-btn:hover {
  background-color: rgba(255, 255, 255, 0.35);
}
.slick-prev-btn {
  left: 30px;
  background-image: url(
      'assets/images/chevronleft.svg'
  );
}
.slick-next-btn {
  right: 30px;
  background-image: url(
      'assets/images/chevronright.svg'
  );
}
.slick-list,
.slick-track {
  height: 100%;
}
.slick-slide {
  height: 100vh;
}
.slick-slide > div {
  height: 100%;
}
/*
|--------------------------------------------------------------------------
| RESPONSIVE GLOBAL STYLES
|--------------------------------------------------------------------------
*/
@media (max-width: 767.98px) {
  body {
      font-size: 16px;
      line-height: 1.5;
  }
  .slick-prev-btn,
  .slick-next-btn {
      width: 42px;
      height: 42px;
      background-size: 14px;
  }
  .slick-prev-btn {
      left: 15px;
  }
  .slick-next-btn {
      right: 15px;
  }
}

/*
|--------------------------------------------------------------------------
| PAGE HEADER
|--------------------------------------------------------------------------
*/
.page-header {
  width: 100%;
}
.page-header-image {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
}
.page-header-image img {
  display: block;
  width: 100%;
  height: 40px;
  object-fit: cover;
  object-position: center;
}
.page-header-content {
  background-color: #429B93;
}
.page-header-inner {
  padding: 35px 0 32px;
  text-align: left;
}
.page-header-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;
}
.page-header-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
}
.page-header-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.page-header-breadcrumbs a:hover {
  color: #ffffff;
  opacity: 0.75;
}
.page-header-separator {
  opacity: 0.7;
}
.page-header-current {
  opacity: 0.85;
}
/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/
@media (max-width: 767.98px) {
  .page-header-image img {
    max-height: 280px;
  }
  .page-header-inner {
    padding: 28px 0 25px;
  }
  .page-header-title {
    margin-bottom: 8px;
    font-size: 36px;
  }
  .page-header-breadcrumbs {
    font-size: 14px;
  }
}


/* ==========================================================================
 ABOUT PAGE
 ========================================================================== */
.about-page {
  width: 100%;
}
/* ==========================================================================
 ABOUT CONTENT SECTIONS
 ========================================================================== */
.about-content-section {
  width: 100%;
  padding: 100px 0;
}
.about-section-1 {
  background: #ffffff;
}
.about-section-2 {
  background: #f7f5f1;
}
/* ==========================================================================
 GRID
 ========================================================================== */
.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
/* ==========================================================================
 IMAGE
 ========================================================================== */
.about-content-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 15px;
}
.about-content-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ==========================================================================
 CONTENT
 ========================================================================== */
.about-content-text {
  max-width: 600px;
}
.about-eyebrow {
  display: block;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.about-content-text h2 {
  margin: 0 0 25px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 500;
}
.about-description {
  font-size: 17px;
  line-height: 1.8;
}
.about-description p {
  margin: 0 0 20px;
}
.about-description p:last-child {
  margin-bottom: 0;
}
/* ==========================================================================
   SECOND ROW
   ========================================================================== */
.about-content-grid-reverse {
    /* 
     * The HTML is content first / image second,
     * so no special positioning is actually required.
     */
}
/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 991px) {
  .about-content-section {
    padding: 70px 0;
  }
  .about-content-grid {
    gap: 50px;
  }
  .about-content-image {
    height: 500px;
  }
  .about-content-text h2 {
    font-size: 36px;
  }
  .about-description {
    font-size: 16px;
  }
}
/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 767px) {
  .about-content-section {
    padding: 50px 0;
  }
  .about-content-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-content-image {
    height: 400px;
  }
  .about-content-text {
    max-width: none;
  }
  .about-content-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .about-description {
    font-size: 16px;
    line-height: 1.7;
  }
  /*
   * On mobile, both sections become:
   *
   * IMAGE
   * CONTENT
   *
   * This keeps the page consistent regardless
   * of which side the image was on desktop.
   */
  .about-section-2 .about-content-grid {
    display: flex;
    flex-direction: column;
  }
  .about-section-2 .about-content-image {
    order: 1;
  }
  .about-section-2 .about-content-text {
    order: 2;
  }
}