/*
Theme Name: Floristería Modern
Theme URI: https://floristeriascoslada.com/
Description: Tema hijo moderno y optimizado de SpaSalon para Floristerías Coslada. Aspecto moderno, carga ligera.
Author: Floristerías Coslada
Template: spasalon
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: floristeria-modern
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --color-primary: #96BB3B;
  --color-primary-dark: #7a9a2f;
  --color-secondary: #993074;
  --color-accent: #e68e00;
  --color-text: #2b2b2b;
  --color-muted: #6b6b6b;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f8f2;
  --color-border: #e5e7eb;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,.12);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Georgia", "Times New Roman", serif;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --container: 1200px;
  --transition: .2s ease;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: #1f2a12;
  line-height: 1.2;
  margin: 0 0 .75rem;
  font-weight: 700;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
p { margin: 0 0 1rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.site-content { padding: 2rem 0; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.site-branding { display: flex; align-items: center; }
.site-branding img { max-height: 52px; width: auto; }
.navbar-brand { font-size: 1.25rem; font-weight: 700; color: var(--color-text); text-decoration: none; }
.navbar-brand:hover { color: var(--color-primary); text-decoration: none; }
.navbar-toggler {
  margin-left: auto;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: .4rem .6rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: none;
}
.navbar-collapse { width: 100%; }
.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  align-items: center;
}
.navbar-nav li { position: relative; }
.navbar-nav .nav-link {
  display: block;
  padding: .5rem .85rem;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.navbar-nav .nav-link:hover { background: var(--color-bg-soft); color: var(--color-primary-dark); text-decoration: none; }
.navbar-nav .active > .nav-link,
.navbar-nav .current_page_item > .nav-link { color: var(--color-primary); font-weight: 600; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: .5rem 0;
  display: none;
  z-index: 1001;
}
li:hover > .dropdown-menu,
li:focus-within > .dropdown-menu { display: block; }
.dropdown-menu .nav-link { padding: .45rem 1rem; font-weight: 400; border-radius: 0; }
.dropdown-menu li:hover > .nav-link { background: var(--color-bg-soft); }
.caret { display: inline-block; margin-left: .35rem; border-top: 4px solid currentColor; border-left: 4px solid transparent; border-right: 4px solid transparent; vertical-align: middle; }

@media (max-width: 991px) {
  .navbar-toggler { display: inline-block; }
  .navbar-collapse { display: none; width: 100%; }
  .navbar-collapse.show { display: block; }
  .navbar-nav { flex-direction: column; align-items: stretch; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; display: none; }
  li.open > .dropdown-menu { display: block; }
}

/* ============================================================
   Buttons
   ============================================================ */
button, .button, input[type="submit"], .botVerde, a.botVerde,
.site-content .entry-content a.botVerde, .wp-block-button__link {
  font-family: inherit;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-pill);
  padding: .7rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
  display: inline-block;
}
input[type="submit"], .botVerde, a.botVerde, .site-content .entry-content a.botVerde {
  background: var(--color-primary);
  color: #fff;
}
input[type="submit"]:hover, .botVerde:hover, a.botVerde:hover,
.site-content .entry-content a.botVerde:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.menu a.botVerde { padding: .35rem .9rem; font-size: .9rem; }
.wp-block-button__link { background: var(--color-accent); color: #fff; }
.wp-block-button__link:hover { background: #cc7f00; color: #fff; text-decoration: none; }

/* ============================================================
   Layout sections
   ============================================================ */
#section { padding: 2.5rem 0; background: var(--color-bg-soft); }
#section .container {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
@media (max-width: 768px) {
  #section .container { padding: 1.25rem; border-radius: var(--radius-md); }
}

/* ============================================================
   Content / typography
   ============================================================ */
.entry-title { text-align: center; margin-bottom: 1.5rem; }
.entry-content img { border-radius: var(--radius-md); }
.wp-block-image img { border-radius: var(--radius-md); }
figure.wp-block-image { margin: 1.5rem 0; }

/* ============================================================
   Widgets / sidebar
   ============================================================ */
.widget { margin-bottom: 2rem; }
.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  border-left: 4px solid var(--color-primary);
  padding-left: .6rem;
  margin-bottom: .75rem;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: .4rem 0; border-bottom: 1px solid var(--color-border); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--color-text); }
.widget ul li a:hover { color: var(--color-primary); }
.widget table { width: 100%; }
.tagcloud a {
  display: inline-block;
  padding: .25rem .6rem;
  margin: .2rem;
  background: var(--color-bg-soft);
  border-radius: var(--radius-pill);
  font-size: .85rem;
}
.tagcloud a:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* ============================================================
   Footer
   ============================================================ */
footer.footer-sidebar {
  background: #1f2415;
  color: #dfe3d6;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}
footer .widget-title { color: #fff; border-left-color: var(--color-primary); }
footer a { color: #dfe3d6; }
footer a:hover { color: var(--color-primary); text-decoration: none; }
.site-info {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: .9rem;
  color: #a9b09a;
}
.site-info p { margin: 0; }
.scrollup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 999;
}
.scrollup.visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   WhatsApp / phone float
   ============================================================ */
#botswt {
  display: grid;
  grid-template-columns: 50% 50%;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  height: 50px;
}
#botwa, #bottel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  cursor: pointer;
}
#botwa { background: var(--color-primary); }
#bottel { background: var(--color-secondary); }
#botwa span, #bottel span { display: none; }
@media (min-width: 700px) {
  #botswt {
    width: 56px;
    height: 56px;
    display: block;
    bottom: 85px;
    right: 16px;
    border-radius: 50%;
    overflow: hidden;
  }
  #bottel { display: none; }
  #botwa {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    background-image: url(/logow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    text-indent: -9999px;
  }
}

/* ============================================================
   WooCommerce product grid
   ============================================================ */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
@media (max-width: 900px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .woocommerce ul.products { grid-template-columns: 1fr; gap: 1rem; } }

.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: .75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fafafa;
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  padding: .25rem;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
  margin: .5rem 0;
  line-height: 1.3;
  min-height: 2.6em;
  color: var(--color-text);
}
.woocommerce ul.products li.product .price {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.15rem;
  margin: .25rem 0 .75rem;
}
.woocommerce ul.products li.product .button {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding: .6rem 1rem;
  font-size: .95rem;
}
.woocommerce a.button, .woocommerce button.button {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-pill);
}
.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--color-primary-dark);
  color: #fff;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background: var(--color-primary);
}
.woocommerce span.onsale {
  background: var(--color-accent);
  border-radius: var(--radius-pill);
  padding: .25rem .6rem;
  font-size: .75rem;
  top: .75rem;
  right: .75rem;
  left: auto;
}
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
  border-top: 3px solid var(--color-primary);
  background: var(--color-bg-soft);
}
/* WooCommerce pages: narrower sidebar, wider product cards */
.woocommerce-page .col-md-8 { flex: 0 0 75%; max-width: 75%; }
.woocommerce-page .col-md-4 { flex: 0 0 25%; max-width: 25%; }

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: .4rem;
  list-style: none;
  padding: 0;
  justify-content: center;
  margin: 2rem 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-block;
  padding: .5rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ============================================================
   Utilities
   ============================================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

/* ============================================================
   Accessibility helpers
   ============================================================ */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: #000; color: #fff; padding: .5rem 1rem; }
.skip-link:focus { left: 0; }

/* ============================================================
   Bootstrap compatibility shim (modern flexbox, no Bootstrap)
   ============================================================ */
.container { width: 100%; }
.row { display: flex; flex-wrap: wrap; margin: 0 -.75rem; }
.row > [class*="col-"] { padding: 0 .75rem; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
.col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-sm-6 { flex: 0 0 50%; max-width: 50%; }
@media (max-width: 768px) {
  .col-md-8, .col-md-7, .col-md-5, .col-md-4, .col-md-3, .col-md-6, .col-sm-6 { flex: 0 0 100%; max-width: 100%; }
}
.clearfix::after { content: ""; display: table; clear: both; }
.media { display: flex; gap: 1rem; }
.media-body { flex: 1; min-width: 0; }
.site-content { min-width: 0; }
.navbar-header { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-toggler-icon { display: inline-block; width: 1.25rem; height: 1.25rem; background: linear-gradient(to bottom, currentColor 0 20%, transparent 20% 40%, currentColor 40% 60%, transparent 60% 80%, currentColor 80% 100%); }
.empty-footer-sidebar .col-md-3.col-sm-6 { /* grid override from custom css handled */ }
.footer-widgets.row .col { flex: 1 1 0; min-width: 220px; padding: 0 .75rem; }
.nav-collapse { display: contents; }
.navbar-inverse-collapse { display: contents; }
.ms-auto { margin-left: auto; }
.navbar-nav.ms-auto { margin-left: auto; }
@media (max-width:991px) { .ms-auto { margin-left: 0; } }

/* footer grid for subvencion logos */
footer .empty-footer-sidebar .col-md-3.col-sm-6 {
  width: 100%;
  display: grid;
  grid-template-columns: 100%;
}
@media (min-width: 500px) {
  footer .empty-footer-sidebar .col-md-3.col-sm-6 {
    grid-template-columns: 45% 45%;
    grid-column-gap: 10%;
  }
}
footer .site-info .col-md-7 { width: 100%; }
footer .site-info .col-md-5 { display: none; }
/* ERROR Woocommerce no encuentro *
.woocommerce-info {
    background: #779622;
    color: #fff;
	font-size: 2em;
    font-family: 'Roboto', sans-serif;
}

/* CSS manual *
#section {
    background-image: url("https://2017.floristeriascoslada.com/wp-content/uploads/2017/07/grass-bottom-floristeriascoslada.jpg");
	background-repeat: repeat-x;
	background-position: left bottom;
    #background-attachment: fixed;
    padding-top: 40px;
    padding-right: 0px;
    padding-bottom: 25px;
    padding-left: 0px;

}

#section .container {
	background-color: white;
	width: 90%;
	padding-right: 25px;
	padding-left: 25px;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-right: auto;
	margin-left: auto;
	border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	border: 0px solid #7bff00;
}*/
/*color verde principal enlaces*/
.navbar .navbar-nav > .open > a, .navbar .navbar-nav > .open > a:hover, .navbar .navbar-nav > .open > a:focus, .navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus, .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .current_page_item > a, .navbar-default .navbar-nav > .current_page_item > a:hover, .navbar-default .navbar-nav > .current_page_item > a:focus, .navbar-default .navbar-nav > li > a:before, #slider .topbar-detail, #spa-page-header .topbar-detail, a.thumb-btn:before, .flex-direction-nav a:hover::before, .direction-nav a:hover::before, .more-link, .more-link:hover, .paginations a:before, .paginations a.active, .paginations span.current, .widget table caption, .widget table tbody a, .scrollup, ins, input[type="submit"], .post-thumbnail i, .woocommerce .widget_price_filter .ui-slider .ui-slider-range, table th{
	background-color:#96BB3B;
}
.entry-title > a:hover, .txt-color, .team-designation, .prt-detail h4, .prt-detail h4 a, .product-name, .product-price, .product-detail .price, .widget ul li a:hover, .widget ul li a:focus, .widget table #next a:hover, .widget table #next a:focus, .widget table #prev a:hover, .widget table #prev a:focus, .tagcloud a:hover, .tagcloud a:focus, .footer-sidebar .widget p a:hover, .footer-links li > a:hover, .footer-links li > a:focus, .site-info p a:hover, .site-info p a:focus, .datetime:hover, .datetime:focus, .reply a:hover, .reply a:focus, .phone, tbody a, p a, dl dd a, a, a:hover, div[class*="wbr_project_widget"] .prt-detail h4 a{
	color:#96BB3B;
}
.widget .widget-title, .comment-title{
	border-left:4px solid #96BB3B;
}
.footer-sidebar{
	border-top:3px solid #96BB3B;
}
.woocommerce #respond input#submit.alt, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt, .woocommerce a.button.alt:hover, .woocommerce button.button.alt, .woocommerce button.button.alt:hover, .woocommerce input.button.alt, .woocommerce input.button.alt:hover{
	background-color:#96BB3B;
}
.woocommerce .woocommerce-error, .woocommerce-page .woocommerce-error, .woocommerce .woocommerce-message, .woocommerce-page .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce-page .woocommerce-info{
	border-top:3px solid #96BB3B;
}
/*logos subvención*/
footer .empty-footer-sidebar .col-md-3.col-sm-6{
	width: 100%;
    display: grid;
    grid-template-columns: 100%;
}
@media(min-width:500px){
	footer .empty-footer-sidebar .col-md-3.col-sm-6{
	width: 100%;
    display: grid;
    grid-template-columns: 45% 45%;
    grid-column-gap: 10%;
}
}
/*copyright*/
footer .site-info .col-md-7{
	width:100%
}

/*botón información*/
.botVerde,
a.botVerde,
.site-content .entry-content a.botVerde{
	background-color: #96BB3B;
  color: #fff;
  padding: 20px;
  text-transform: uppercase;
  text-decoration: none!important;
  border: 1px solid #96BB3B;
	display:inline-block;
	text-decoration:none!important
}
.botVerde:hover,
a.botVerde:hover,
.site-content .entry-content a.botVerde:hover{
	background-color:#fff;
	color:#96BB3B;
	text-decoration:none!important
}
.menu a.botVerde{
	padding:5px!important;
}
.woocommerce form .form-row .required, .woocommerce-shipping-calculator p > a:hover, .woocommerce a.remove, .woocommerce ul.products li.product .price, .woocommerce-info a.showcoupon, a.woocommerce-review-link, .posted_in a, ins span{
	color:#96BB3B;
}
/*menú negrita*/
.navbar-default .navbar-nav > li > a{
	font-weight:500;
}
/*ocultamos menú pie*/
footer .site-info .col-md-5{display:none}
/*ampliamos el tamaño de submenús y colocamos hacia la izquierda*/
@media(min-width:1001px){
  ul.dropdown-menu{
    width: 286px;
    left: -181px!important;
  }
}

/*Logo whatsapp*/
#botswt{
	display:grid;
	grid-template-columns:50% 50%;
	position: fixed;
  bottom: 0px;
  right: 0px;
  z-index: 9999;
	width:100%;
	height:50px;
}
#botwa{
  background-color: #96BB3B;
  background-image: url(/logow.png);
  background-repeat: no-repeat;
  background-position: center;
	cursor:pointer;
}
#botwa>span{
	display:none;
}
#bottel{
  background-color: #993074;
  background-image: url(/logot.png);
  background-repeat: no-repeat;
  background-position: center;
	cursor:pointer;
}
#bottel>span{
	display:none;
}
@media(min-width:700px){
	#botswt{
	  width:65px;
		height:65px;
	  display:block;
		position:fixed;
		z-index:999;
		bottom:85px;
		right:16px;
	}
	#bottel{display:none}
  #botwa{
    box-shadow: 0px 0px 11px rgba(0,0,0,.5);
		border-radius:75px;
		background-color: #96BB3B;		border-radius: 75px;
		width:45px;
		height:45px;
		display:block;
		padding:30px;
    
	/*  
    position: fixed;
    bottom: 85px;
    right: 35px;
    z-index: 999999;
    background-repeat: no-repeat;
    
    background-position: center center;
    */
}
}
/*ocultamos dirección errónea carrito*/
.woocommerce-shipping-destination{display:none}
/* Make grid items fill their cells (override WooCommerce float widths) */
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0;
  float: none;
}
.entry-header .entry-title{
	text-align:center!important;
}


/* Neutralize WooCommerce clearfix pseudo-elements that become grid items */
.woocommerce .products::before,
.woocommerce .products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.row::before,
.row::after {
  content: none !important;
  display: none !important;
}
