/*
Theme Name:   Onsus child theme
Description:  Write here a brief description about your child-theme
Author:       Themesflat
Author URL:   https://onsuswp.themesflat.co/
Template:     onsus
Version:      1.0.0
Tested up to: 5.8.1
Requires PHP: 5.6
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  onsus-child-theme
*/


:root {
  --primary-color: #134d4c;
  --secondary-color: #c19747;
  --primary-hover: #0f3d3c;
  --secondary-hover: #a8823a;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

.kartly-front-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

/* Hero Section */
.kartly-hero {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  overflow: hidden;
}

.kartly-hero-slider {
  position: relative;
  width: 100%;
  background: var(--bg-light);
}

.kartly-hero-swiper {
  width: 100%;
  min-height: 600px;
}

.kartly-hero-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--white);
  width: 100%;
}

.kartly-hero-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.kartly-hero-product-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.kartly-hero-product-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.kartly-hero-product-info {
  padding: 20px 0;
}

.kartly-hero-product-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kartly-hero-product-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.kartly-hero-product-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.kartly-hero-product-title a:hover {
  color: var(--secondary-color);
}

.kartly-hero-product-price {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
}

.kartly-hero-product-excerpt {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.kartly-hero-product-actions {
  display: flex;
  gap: 15px;
}

/* Swiper Navigation */
.kartly-hero-swiper {
  position: relative;
}

.kartly-hero-swiper .swiper-button-next,
.kartly-hero-swiper .swiper-button-prev {
  color: var(--white);
  background: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.kartly-hero-swiper .swiper-button-next {
  right: 20px;
}

.kartly-hero-swiper .swiper-button-prev {
  left: 20px;
}

.kartly-hero-swiper .swiper-button-next:hover,
.kartly-hero-swiper .swiper-button-prev:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.kartly-hero-swiper .swiper-button-next::after,
.kartly-hero-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: 700;
}

.kartly-hero-swiper .swiper-pagination {
  bottom: 20px;
  z-index: 10;
}

.kartly-hero-swiper .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.kartly-hero-swiper .swiper-pagination-bullet-active {
  background: var(--secondary-color);
  opacity: 1;
  width: 30px;
  border-radius: 6px;
}

.kartly-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.kartly-btn:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(193, 151, 71, 0.3);
}

.kartly-btn-primary {
  background-color: var(--primary-color);
}

.kartly-btn-primary:hover {
  background-color: var(--primary-hover);
}

/* Container */
.kartly-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Styles */
.kartly-section {
  margin: 80px 0;
}

.kartly-section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

.kartly-section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

/* Product Grid */
.kartly-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.kartly-product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.kartly-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.kartly-product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: var(--bg-light);
}

.kartly-product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.kartly-product-title {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.kartly-product-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.kartly-product-title a:hover {
  color: var(--primary-color);
}

.kartly-product-price {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.kartly-product-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.kartly-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.kartly-add-to-cart {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.kartly-add-to-cart:hover {
  background-color: var(--primary-hover);
}

/* Category Section */
.kartly-categories-slider {
  position: relative;
  margin-top: 40px;
  padding: 0 50px 50px;
}

.kartly-categories-swiper {
  position: relative;
  overflow: hidden;
}

.kartly-categories-swiper .swiper-wrapper {
  align-items: stretch;
}

.kartly-categories-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.kartly-category-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.kartly-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.kartly-category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--bg-light);
}

.kartly-category-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kartly-category-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.kartly-category-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.kartly-category-title a:hover {
  color: var(--secondary-color);
}

.kartly-category-count {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Featured Products Section */
.kartly-featured-section {
  background-color: var(--bg-light);
  padding: 60px 20px;
  margin-bottom: 80px;
}

/* Christmas Gifts Section */
.kartly-christmas-section {
  background: linear-gradient(135deg, rgba(19, 77, 76, 0.05) 0%, rgba(193, 151, 71, 0.05) 100%);
  padding: 80px 0;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.kartly-christmas-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.kartly-christmas-section .kartly-section-title {
  position: relative;
}

.kartly-christmas-section .kartly-section-title::after {
  content: '🎄';
  margin-left: 15px;
  font-size: 2rem;
}

/* Category Products Section */
.kartly-category-section {
  margin-bottom: 80px;
}

.kartly-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
}

.kartly-category-name {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* Categories Swiper Navigation */
.kartly-categories-swiper .swiper-button-next,
.kartly-categories-swiper .swiper-button-prev {
  color: var(--white);
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.kartly-categories-swiper .swiper-button-next {
  right: 0;
}

.kartly-categories-swiper .swiper-button-prev {
  left: 0;
}

.kartly-categories-swiper .swiper-button-next:hover,
.kartly-categories-swiper .swiper-button-prev:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.kartly-categories-swiper .swiper-button-next::after,
.kartly-categories-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.kartly-categories-swiper .swiper-pagination {
  position: relative;
  bottom: auto;
  margin-top: 30px;
  z-index: 10;
}

.kartly-categories-swiper .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.kartly-categories-swiper .swiper-pagination-bullet-active {
  background: var(--secondary-color);
  opacity: 1;
  width: 25px;
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .kartly-hero-product {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
  }

  .kartly-hero-product-image img {
    height: 350px;
  }

  .kartly-hero-product-title {
    font-size: 2rem;
  }

  .kartly-hero-slide {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .kartly-hero-swiper {
    min-height: 500px;
  }

  .kartly-hero-slide {
    padding: 30px 15px;
  }

  .kartly-hero-product {
    gap: 30px;
  }

  .kartly-hero-product-image img {
    height: 280px;
  }

  .kartly-hero-product-title {
    font-size: 1.75rem;
  }

  .kartly-hero-product-price {
    font-size: 1.5rem;
  }

  .kartly-hero-product-actions {
    flex-direction: column;
  }

  .kartly-hero-product-actions .kartly-btn {
    width: 100%;
    text-align: center;
  }

  .kartly-section-title {
    font-size: 2rem;
  }

  .kartly-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .kartly-categories-slider {
    padding: 0 20px 40px;
  }

  .kartly-hero-swiper .swiper-button-next,
  .kartly-hero-swiper .swiper-button-prev {
    display: none;
  }

  .kartly-categories-swiper .swiper-button-next,
  .kartly-categories-swiper .swiper-button-prev {
    display: none;
  }
}


#mainnav > ul > li.current-menu-item > a, 
#mainnav > ul > li.current-menu-ancestor > a, 
#mainnav > ul > li.current-menu-parent > a {
    color: #c19747;
}

#mainnav > ul > li > a:hover {
    color: #c19747;
}
