/*
Theme Name: Tyran
Theme URI: https://www.kadencewp.com/
Description: Child theme for Kadence
Author: pixbean.lt
Author URI: https://pixbean.lt
Template: kadence
Version: 1.0.0
*/


body {
    background-color: #ffffff;
  }
  
 
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  /* Bendras fonas ir tipografija */
body {
  background-color: #f4fdf4;
  font-family: 'Inter', sans-serif;
  color: #222;
}

/* Breadcrumb stilius */
.breadcrumb {
  font-size: 14px;
  color: #6a8e6e;
  margin-bottom: 20px;
}

/* Tab konteineris */
.product-tabs {
  display: flex;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

/* Kiekvienas tab’as */
.product-tab {
  padding: 12px 24px;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-bottom: none;
  margin-right: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

/* Aktyvus tab’as */
.product-tab.active {
  background-color: #f4fdf4;
  border-color: #6a8e6e;
  color: #000;
}
.product-tab:first-child {
  background-color: #f4fdf4;
  border-color: #6a8e6e;
  font-weight: bold;
}

/* Tab turinys */
.tab-content {
  background-color: #ffffff;
  padding: 24px;
  border: 1px solid #ccc;
  border-top: none;
}

/* Antraštės */
.tab-content h2 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #333;
}

/* Aprašymo tekstas */
.tab-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* PIRKTI tab'o konteineris */
.purchase-tab-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

/* Kairė pusė – nuotrauka ir galerija */
.purchase-left {
  flex: 1 1 45%;
  max-width: 45%;
}

.purchase-left img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 6px;
  object-fit: cover;
}

/* Galerijos stilius */
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-gallery img {
  width: 48%;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.product-gallery img:hover {
  transform: scale(1.05);
}

/* Dešinė pusė – informacija ir pirkimas */
.purchase-right {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-price {
  font-size: 24px;
  color: #2e7d32;
  font-weight: 500;
}

.product-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

.product-attributes {
  font-size: 15px;
  background-color: #fff;
  padding: 22px 10px;
  border-radius: 25px;
}

.product-add-to-cart {
  margin-top: 20px;
}

/* 📱 Responsive stilius mažiems ekranams */
@media (max-width: 768px) {
  .purchase-tab-layout {
    flex-direction: column;
    gap: 24px;
  }

  .purchase-left,
  .purchase-right {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .product-gallery img {
    width: 48%;
  }

  .product-title {
    font-size: 22px;
  }

  .product-price {
    font-size: 20px;
  }

  .product-excerpt {
    font-size: 15px;
  }

  .product-attributes {
    font-size: 14px;
  }
}

/* NUOMA tab'o konteineris */
.rental-tab-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

/* Kairė pusė – nuotraukos */
.rental-left {
  flex: 1 1 45%;
  max-width: 45%;
}

/* Dešinė pusė – aprašymas */
.rental-right {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rental-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.rental-description {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
}

/* 📱 Responsive stilius mažiems ekranams */
@media (max-width: 768px) {
  .rental-tab-layout {
    flex-direction: column;
    gap: 24px;
  }

  .rental-left,
  .rental-right {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .rental-title {
    font-size: 20px;
  }

  .rental-description {
    font-size: 15px;
  }
}
/*galerija*/

.custom-product-images-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.main-image {
  flex: 1 1 70%;
}

.main-product-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.vertical-thumbnails {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thumbnail-image {
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.thumbnail-image:hover {
  transform: scale(1.05);
}

/***woocommerce */
.woocommerce table.shop_attributes th {
    width: 250px!important;
    font-weight: 600!important;
    padding: 8px;
    margin: 0;
    line-height: 1.5;
}
