@font-face {
  font-family: 'Hatton';
  src: url('fonts/PP Hatton Ultralight 200.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Hatton';
  src: url('fonts/PP Hatton Medium 500.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Hatton';
  src: url('fonts/PP Hatton Bold 700.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}


/*
Theme Name: Astra Child
Template: astra
Theme URI: https://wpastra.com/
Author: Zeropare
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Version: 4.9.0
Requires at least: 5.3
WC requires at least: 3.0
WC tested up to: 9.6
Tested up to: 6.7.2
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra
Domain Path: /languages
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
AMP: true

Astra WordPress Theme, Copyright 2020 WPAstra.
Astra is distributed under the terms of the GNU GPL.

Astra is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of.
Nicolas Gallagher and Jonathan Neal https://necolas.github.com/normalize.css/

Astra icon font is based on IcoMoon-Free vector icon by Keyamoon.
IcoMoon-Free vector icon distributed under terms of CC BY 4.0 or GPL. (https://creativecommons.org/licenses/by/4.0/ or https://www.gnu.org/licenses/gpl.html)
Source: http://keyamoon.com/

Flexibility is a JavaScript polyfill for Flexbox By Jonathan Neal, 10up. (https://github.com/jonathantneal/flexibility)
Licensed under MIT ( https://github.com/jonathantneal/flexibility/blob/master/LICENSE.md )

Screenshot image is a collage of actual sites created using the Astra WordPress Theme.

Icons used in the Screenshot image are all licensed under Creative Commons ( CC BY 4.0 ) License ( https://fontawesome.com/license/free )
https://fontawesome.com/v5.15/icons/store?style=solid
https://fontawesome.com/v5.15/icons/shopping-cart?style=solid
https://fontawesome.com/v5.15/icons/pen-square?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid

Illustrations used in the Screenshot images are all licensed under Creative Commons ( CC0 ) License ( https://gumroad.com/l/humaaans )
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/standing-24.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/sitting-2.png

Hand-drawn illustrations used are created by Brainstorm Force and released under Creative Commons ( CC0 ) License.
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/girl-with-image-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/boy-with-code-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/web-browser.png

The same site as screenshot can be imported from here https://websitedemos.net/web-design-agency-08/.

For more information, refer to this document on how to create a page like in the screenshot - https://wpastra.com/docs/replicating-the-screenshot/.

Astra default breadcrumb is based on Breadcrumb Trail by Justin Tadlock. (https://github.com/justintadlock/breadcrumb-trail)
Breadcrumb Trail is distributed under the terms of the GNU GPL v2 or later.

Astra local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT). (https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

/* Note: The CSS files are loaded from assets/css/ folder. */

/*
Miaoooo : "=^.^="   "=^.^="   "=^.^="    "=^.^="
*/

/* 2) Box-shadow e padding */

/* --- Globali per la pagina view-auto --- */
.auto-page {
  padding: 1px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* --- BOX LAYOUT --- */
.auto-layout {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* --- SLIDER IMMAGINI (SINISTRA) --- */
.auto-left .slider-for img,
.auto-left .slider-nav img {
  border-radius: 8px;
  object-fit: cover;
  transition: transform .3s ease;
}

.auto-left .slider-for img:hover {
  transform: scale(1.02);
}

/* thumbnail selezionata */
.auto-left .slider-nav .slick-current img {
  border: 3px solid #CAB26A;
  border-radius: 6px;
}

/* margini sotto il for e sopra il nav */
.auto-left .slider-for {
  margin-bottom: 1rem;
}

.auto-left .slider-nav .slick-slide {
  padding: 0 .4rem;
}

/* --- DATI AUTO (DESTRA) --- */
.auto-right {
  flex: 1;
  min-width: 280px;
}

/* Titolo auto */
.auto-right h1 {
  font-size: 2rem;
  margin-bottom: .5rem;
  font-weight: 600;
  color: #222;
}

/* Tabella specifiche */
.auto-specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.auto-specs th,
.auto-specs td {
  padding: .6rem 1rem;
}

.auto-specs th {
  text-align: left;
  background: #f5f5f5;
  font-weight: 500;
  width: 40%;
}

.auto-specs tr:nth-child(even) td {
  background: #fafafa;
}

@media screen and (max-width: 600px) {
  .auto-specs th,
  .auto-specs td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    padding: 6px 4px;
  }
}

/* Descrizione */
.auto-description {
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.auto-description h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #000;
  padding: 1rem;
  border-radius: 4px;
}

/* Pulsante “Torna alla Home” */
.auto-right .btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  padding: .6rem 1.2rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .3s ease;
}

.auto-right .btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .auto-layout {
    flex-direction: column;
  }
  .auto-left, .auto-right {
    width: 100%;
  }
}

/* Titoli in Montserrat */
.auto-right h1,
.auto-description h2 {
  font-family: 'Helvetica Neue', sans-serif ;
  font-weight: 600 ;
  
}

/* 4) Contorno thumbnail selezionata */
.auto-left .slider-nav .slick-slide.slick-current img {
  border: 4px solid #CAB26A ;
  border-radius: 3px;
}

/* 5) Prezzo in evidenza */
.auto-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e74c3c;
  margin: .5rem 0 1rem;
  padding: .5rem 1rem;
  background: rgba(231,76,60, .1);
  border-radius: 6px;
  display: inline-block;
}

/* Contenitore icone */
.card .icon-container {
  position: absolute;
  top: 0.5rem;      /* leggermente sotto il bordo superiore */
  right: 0.5rem;    /* vicino al bordo destro */
  display: flex;
  gap: 0.5rem;      /* spazio tra icone */
  z-index: 10;
}

/* Dimensione e colore icone */
.card .icon-container i {
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.card .icon-container i:hover {
  color: #d00;  /* rosso all’hover sul cuore / share */
}

/* Card e Hover effect sulle card in home */
.auto-container .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auto-container .card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.subito-widget-icon {
  width: 300px;       /* regola a piacere subito*/
  height: auto;
  display: inline-block;
  cursor: pointer;
  transition: transform .2s;
  margin-bottom: 2px;
}
.subito-widget-icon:hover {
  transform: scale(1.3);
}

.marketplace-widget-icon {
  width: 200px;       /* puoi regolare a piacere automobile.it*/
  height: auto;
  display: inline-block;
  cursor: pointer;
  transition: transform .2s;
  margin: 0 .25rem;  /* un piccolo spazio intorno */
}
.marketplace-widget-icon:hover {
  transform: scale(1.3);
}

.marketplace-widget-icon {
  width: 300px;      /* regola la dimensione comformgest*/
  height: auto;
  display: block;
  margin: 0 auto;   /* centra orizzontalmente */
  transition: transform 0.2s;
}

.marketplace-widget-icon:hover {
  transform: scale(1.3);
  cursor: pointer;
}

.widget-icons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
}

/* Solo per mobile: centra gli elementi */
@media (max-width: 800px) {
  .widget-icons {
    align-items: center;
  }
}

/* WhatsApp sticky icon */
.whatsapp-widget {
  position: fixed;
  right: 0rem;
  top: 72%;               /* metà schermo */
  transform: translateY(-50%);
  z-index: 9999;
}

.whatsapp-widget img {
  width: 68px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.8;
}

.whatsapp-widget img:hover {
  transform: scale(1.2);
  opacity: 1;
}

/* Centra il pulsante all’interno della scheda */
.card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pulsante Visita/Scheda Auto: testo CAB26A, sfondo bianco, bordo CAB26A */
.card .card-body .btn {
  color: #CAB26A;
  background-color: #ffffff;
  border: 1px solid #CAB26A;
  font-weight: bold;
  display: block;
  margin: 0 auto; /* centro orizzontale */
}

/* Mantieni l’effetto hover (opzionale) */
.card .card-body .btn:hover {
  background-color: #CAB26A ;
  color: #ffffff ;
  font-weight: bold;
}

/* Cuore “outline” (far) colorato CAB26A */
.card .fav-button i.far {
  color: #CAB26A ;
}

/* Cuore pieno (fas) colorato di rosso una volta selezionato */
.card .fav-button i.fas {
  color: #e00 ; /* rosso vivo */
}

/* Effetto hover leggero */
.card .fav-button:hover i {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}
/* Share “outline” di default dorato */
.card .share-button i {
  color: #CAB26A ;
}

/* Share “cliccato” (bottone con classe .shared) diventa bianco pieno */
.card .share-button.shared i {
  color: #fff ;
}

/* Effetto hover leggero per cuori e condivisione */
.card .fav-button:hover i,
.card .share-button:hover i {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Pulsante “Scheda Auto” più piccolo nelle card */
.auto-container .card .btn-dark {
  font-size: 0.8rem;          /* testo ridotto */
  padding: 0.25rem 0.5rem;    /* meno spazio interno */
  line-height: 1.2;           /* altezza riga compattata */
}

/* Se vuoi scalare anche il bordo e arrotondamento: */
.auto-container .card .btn-dark {
  border-width: 1px;          /* bordo più sottile */
  border-radius: 3px;         /* angoli meno arrotondati */
}
  
.card .logo {
  width: 100px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: 49%;
  left: 19%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none; /* evita che il mouse lo selezioni */
}


.intro-banner {
  background-color: rgba(202, 178, 106, 0.9); /* Colore #CAB26A con 90% di opacità */
  border-radius: 24px;                        /* Angoli arrotondati su tutti i lati */
  padding: 1rem;                              /* Spaziatura interna */
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 100%;                                /* Occupa tutta la larghezza disponibile */
  box-sizing: border-box;
  max-width: 1200px;                          /* Larghezza massima per allinearsi al contenitore delle card */
}


.auto-container.responsive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 600px) {
  .auto-container.responsive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero-wrapper > div {
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero-wrapper h2 {
    font-size: 1.4rem;
  }

  .hero-wrapper img {
    width: 40px;
  }
}

.hero-title {
  font-family: 'Hatton', serif;
}

/* --- Fancybox personalizzato con colore #CAB26A --- */

/* Frecce */
.fancybox__nav .fancybox__button {
  color: #CAB26A !important;
  stroke: #CAB26A !important;
}

/* Didascalia (caption) */
.fancybox__caption {
  color: #CAB26A !important;
  font-weight: bold;
}

/* Bordo intorno all'immagine selezionata (thumb attiva) */
.fancybox__thumbs .fancybox__thumb.is-selected::after {
  border-color: #CAB26A !important;
}

