/*
Theme Name: Osaka Racing Portfolio
Theme URI: https://example.com/osaka-racing-portfolio/
Description: A professional portfolio theme for creatives, designers, and agencies. Features custom portfolio, testimonial sections, and responsive design.
Author: Renzo Carpio
Author URI: https://example.com/
Template: blankslate
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blankslatechild
Tags: portfolio, responsive, custom-logo, custom-menu, featured-images, right-sidebar, translation-ready
*/

/* Import parent theme styles */
@import url("https://fonts.googleapis.com/css?family=Arimo:400|Raleway:300,400,700&display=swap");
@import url("../blankslate/style.css");
body {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  position: relative;
}

nav.site-nav-target * {
  font-size: 16px !important;
}
/* Additional theme styling */

/* Helper Classes */
.text-center {
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* WordPress Core Classes */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Screen Reader Text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

nav.unslate_co--site-nav.site-nav-target.scrolled.sleep.awake{
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gsap-reveal-img .reveal-wrap .reveal-content .portfolio-item-content h3 {
    margin-bottom: 20px;
}

.gsap-reveal-img .reveal-wrap .reveal-content .portfolio-item-content .price-home {
    font-size: 18px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.blog-detalle {
    margin-top: 80px;
}
.blog-detalle h1{
  font-size: 230%;
}
.blog-detalle img{
  margin-top: 15px;
  margin-bottom: 15px;
}

/* =============================================
   Blog Archive — Card Layout
   ============================================= */

.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Thumbnail */
.blog-card-thumbnail {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumbnail img {
  transform: scale(1.05);
}

/* Body */
.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  gap: 0.75rem;
}

/* Date */
.blog-card-date {
  display: block;
  font-family: "Arimo", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* Title */
.blog-card-title {
  font-family: "Raleway", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  margin: 0;
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Read more button */
.btn-blog-readmore {
  align-self: flex-start;
  font-family: "Arimo", sans-serif;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid #ff1f3d;
  border-radius: 3px;
  background: #ff1f3d;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 31, 61, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-blog-readmore::after {
  content: ">";
  font-size: 12px;
  line-height: 1;
}

.btn-blog-readmore:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 31, 61, 0.4);
  background: #e61633;
  color: #fff;
  border-color: #e61633;
}

.btn-blog-readmore:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Archive pagination */
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-numbers a,
.page-numbers span {
  font-family: "Arimo", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-numbers a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.page-numbers .current {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   WooCommerce — Product Card & Shop Archive
   ============================================= */

/* Reset WC default list styles */
ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.products.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

ul.products li.product {
  float: none;
  clear: none;
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 0 30px;
}

@media (min-width: 576px) {
  ul.products li.product {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) {
  ul.products li.product {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Sale badge */
.blog-card-thumbnail .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  background: #e53935;
  color: #fff;
  font-family: "Arimo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 2px;
  line-height: 1;
}

/* Category badge */
.product-card-category {
  display: block;
  font-family: "Arimo", sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}

.product-card-category a {
  color: inherit;
  text-decoration: none;
}

/* Price */
.product-card-price {
  margin-bottom: 0.25rem;
}

.product-card-price .price,
.single-product .summary .price {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.product-card-price .price,
.product-card-price .price *,
.single-product .summary .price,
.single-product .summary .price * {
  color: #fff !important;
}

.product-card-price .price .woocommerce-Price-currencySymbol,
.single-product .summary .price .woocommerce-Price-currencySymbol {
  color: #fff !important;
}

.product-card-price .price del,
.single-product .summary .price del {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  margin-right: 6px;
  font-size: 13px;
}

.product-card-price .price del,
.product-card-price .price del *,
.single-product .summary .price del,
.single-product .summary .price del * {
  color: rgba(255, 255, 255, 0.35) !important;
}

.product-card-price .price ins,
.single-product .summary .price ins {
  text-decoration: none;
}

/* Shop filter bar */
.shop-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.shop-filter-link {
  font-family: "Arimo", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.shop-filter-link:hover,
.shop-filter-link.active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* WC pagination — inherit .page-numbers styles already defined above */
.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hide WC default wrappers we don't need */
.woocommerce-result-count,
.woocommerce-ordering {
  display: none;
}

/* =============================================
   WooCommerce — Single Product Detail
   ============================================= */

.single-product .single-product-section {
  padding-top: 120px;
}

.single-product div.product {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.single-product div.product .images,
.single-product div.product .summary {
  float: none;
  width: 100% !important;
  max-width: none !important;
  margin: 0;
}

.single-product div.product .images {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.8rem;
}

.single-product div.product .images img {
  width: 100% !important;
  height: auto !important;
  min-height: 560px;
  max-height: 720px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.single-product div.product .summary {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0;
  text-align: left;
}

.single-product .summary .product_title {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 2.7rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.single-product .summary .price {
  margin-bottom: 1rem;
}

.single-product .summary form.cart {
  display: none !important;
}

.single-product .summary form.cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.single-product .summary .quantity .qty {
  min-height: 44px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 3px;
  width: 80px;
}

.single-product .summary .single_add_to_cart_button.button.alt {
  min-height: 44px;
  border: 1px solid #ff1f3d;
  background: #ff1f3d;
  color: #fff;
  border-radius: 3px;
  font-family: "Arimo", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 31, 61, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.single-product .summary .single_add_to_cart_button.button.alt:hover {
  transform: translateY(-1px);
  background: #e61633;
  border-color: #e61633;
  box-shadow: 0 10px 24px rgba(255, 31, 61, 0.4);
}

.single-product .summary .product_meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-family: "Arimo", sans-serif;
  font-size: 13px;
  text-align: left;
}

.single-product .summary .product_meta a {
  color: #fff;
}

.single-product div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

.single-product div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.single-product div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-radius: 0;
  margin-right: 1rem;
}

.single-product div.product .woocommerce-tabs ul.tabs li a {
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Arimo", sans-serif;
  font-size: 12px;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active a,
.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
  color: #fff;
}

.single-product div.product .woocommerce-Tabs-panel {
  color: rgba(255, 255, 255, 0.85);
}

.single-product div.product .product-description-plain {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
  padding: 1.4rem 1.6rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-family: "Arimo", sans-serif;
  font-size: 1.08rem;
  line-height: 1.8;
}

.single-product div.product .product-description-plain p:last-child {
  margin-bottom: 0;
}

.single-product .related.products {
  grid-column: 1 / -1;
  margin-top: 2rem;
}

.single-product .related.products ul.products {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.single-product .related.products ul.products li.product {
  flex: 0 0 33.333333% !important;
  max-width: 33.333333% !important;
  width: 33.333333% !important;
  margin: 0 0 30px 0 !important;
  padding: 0 15px !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box;
}

.single-product .related.products > h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 991.98px) {
  .single-product div.product {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .single-product div.product .product-description-plain {
    padding: 1.1rem 1rem;
    font-size: 1rem;
    line-height: 1.75;
  }

  .single-product div.product .images img {
    min-height: 320px;
    max-height: 520px;
  }

  .single-product .summary .product_title {
    font-size: 2.1rem;
  }

  .single-product .summary,
  .single-product .summary .product_meta {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .single-product .related.products ul.products li.product {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}