/**
 * PATUCARRO Sync & WhatsApp Catalog - Frontend Stylesheet
 */

:root {
	--patucarro-primary: #0084ff;
	--patucarro-primary-gradient: linear-gradient(135deg, #0084ff 0%, #3b82f6 100%);
	--patucarro-dark: #0f172a;
	--patucarro-light: #f1f5f9;
	--patucarro-whatsapp: #25d366;
	--patucarro-whatsapp-hover: #128c7e;
	--patucarro-whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
	--patucarro-gray-light: #f1f5f9;
	--patucarro-gray-medium: #cbd5e1;
	--patucarro-gray-dark: #64748b;
	--patucarro-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	--patucarro-shadow-hover: 0 8px 25px rgba(0, 132, 255, 0.15);
	
	--bg-primary: #f1f5f9;
	--bg-panel: #f8fafc;
	--bg-card: #ffffff;
	--bg-input: #ffffff;
	--border-color: #e2e8f0;
	--text-primary: #0f172a;
	--text-secondary: #475569;
	--accent-color: #0084ff;
	--accent-hover: #006acc;
}

/* Hide WooCommerce standard checkout/cart notices if they appear */
.woocommerce-message .wc-forward,
.woocommerce-error .wc-forward,
.woocommerce-info .wc-forward {
	display: none !important;
}

/* WhatsApp Button Container - Single Product Page */
.patucarro-whatsapp-button-container {
	margin: 25px 0;
	padding: 20px;
	background: #ffffff;
	border: 1px solid var(--patucarro-gray-light);
	border-radius: 12px;
	box-shadow: var(--patucarro-shadow);
	display: inline-block;
	width: 100%;
	max-width: 450px;
	box-sizing: border-box;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.patucarro-whatsapp-button-container:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* The WhatsApp Button */
.patucarro-wa-btn-single {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--patucarro-whatsapp-gradient);
	color: #ffffff !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none !important;
	padding: 15px 30px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

/* Glare effect on WhatsApp button */
.patucarro-wa-btn-single::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		to right,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.3) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: rotate(30deg);
	transition: all 0.6s ease;
	opacity: 0;
}

.patucarro-wa-btn-single:hover {
	transform: scale(1.03);
	box-shadow: var(--patucarro-shadow-hover);
}

.patucarro-wa-btn-single:hover::after {
	opacity: 1;
	left: 120%;
}

.patucarro-wa-btn-single:active {
	transform: scale(0.98);
}

/* WhatsApp Icon SVG Background */
.patucarro-wa-icon {
	width: 24px;
	height: 24px;
	display: inline-block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946C.06 5.348 5.397.01 12.008.01c3.202.001 6.212 1.246 8.477 3.514 2.266 2.268 3.507 5.28 3.505 8.484-.004 6.657-5.34 11.997-11.953 11.997-2.005-.001-3.973-.5-5.739-1.446L0 24zm6.59-4.846c1.6.95 3.188 1.449 4.625 1.451 5.437 0 9.862-4.423 9.866-9.86.002-2.634-1.02-5.11-2.881-6.974-1.86-1.863-4.331-2.887-6.969-2.888-5.439 0-9.865 4.424-9.869 9.862-.001 1.558.423 3.082 1.229 4.42l-.979 3.573 3.665-.961l-.088.083zM18.006 14.8c-.33-.165-1.953-.964-2.253-1.074-.3-.11-.519-.165-.738.165-.219.33-.849 1.074-1.041 1.293-.192.219-.384.247-.714.083-.33-.165-1.393-.513-2.653-1.637-1.018-.908-1.705-2.03-1.905-2.359-.2-.33-.021-.508.143-.672.148-.148.33-.384.495-.576.165-.192.219-.33.329-.548.11-.219.055-.411-.027-.576-.082-.165-.738-1.782-1.014-2.44-.268-.644-.541-.555-.738-.565-.19-.01-.41-.01-.629-.01s-.575.082-.876.411c-.3.33-1.15 1.124-1.15 2.741 0 1.617 1.177 3.179 1.341 3.4.165.219 2.316 3.537 5.61 4.96.783.338 1.395.54 1.872.692.787.25 1.5.215 2.065.13.63-.095 1.953-.798 2.227-1.57.275-.771.275-1.432.193-1.57-.083-.138-.302-.22-.63-.385z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

/* Advisor Availability Status Badge */
.patucarro-wa-availability {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 13px;
	color: var(--patucarro-gray-dark);
}

.pulse-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: var(--patucarro-whatsapp);
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	animation: pulse-animation 1.6s infinite;
}

@keyframes pulse-animation {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

/* Shop Archive / Loop Grid Buttons */
.patucarro-loop-buttons-container {
	display: flex;
	gap: 8px;
	margin-top: 15px;
	width: 100%;
}

.patucarro-loop-buttons-container .button {
	flex: 1;
	font-size: 12px !important;
	padding: 10px 5px !important;
	text-align: center;
	font-weight: 700 !important;
	border-radius: 6px !important;
	line-height: 1.2 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 38px !important;
	box-sizing: border-box;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.25s ease !important;
}

/* Detail Button */
.patucarro-details-btn {
	background: var(--patucarro-gray-light) !important;
	color: var(--patucarro-dark) !important;
	border: 1px solid var(--patucarro-gray-medium) !important;
}

.patucarro-details-btn:hover {
	background: var(--patucarro-gray-medium) !important;
	color: var(--patucarro-dark) !important;
}

/* Loop Card WhatsApp Button */
.patucarro-loop-wa-btn {
	background: var(--patucarro-whatsapp) !important;
	color: #ffffff !important;
	border: none !important;
}

.patucarro-loop-wa-btn:hover {
	background: var(--patucarro-whatsapp-hover) !important;
	color: #ffffff !important;
	box-shadow: 0 3px 10px rgba(37, 211, 102, 0.15);
}

.patucarro-wa-icon-small {
	width: 14px;
	height: 14px;
	display: inline-block;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946C.06 5.348 5.397.01 12.008.01c3.202.001 6.212 1.246 8.477 3.514 2.266 2.268 3.507 5.28 3.505 8.484-.004 6.657-5.34 11.997-11.953 11.997-2.005-.001-3.973-.5-5.739-1.446L0 24zm6.59-4.846c1.6.95 3.188 1.449 4.625 1.451 5.437 0 9.862-4.423 9.866-9.86.002-2.634-1.02-5.11-2.881-6.974-1.86-1.863-4.331-2.887-6.969-2.888-5.439 0-9.865 4.424-9.869 9.862-.001 1.558.423 3.082 1.229 4.42l-.979 3.573 3.665-.961l-.088.083zM18.006 14.8c-.33-.165-1.953-.964-2.253-1.074-.3-.11-.519-.165-.738.165-.219.33-.849 1.074-1.041 1.293-.192.219-.384.247-.714.083-.33-.165-1.393-.513-2.653-1.637-1.018-.908-1.705-2.03-1.905-2.359-.2-.33-.021-.508.143-.672.148-.148.33-.384.495-.576.165-.192.219-.33.329-.548.11-.219.055-.411-.027-.576-.082-.165-.738-1.782-1.014-2.44-.268-.644-.541-.555-.738-.565-.19-.01-.41-.01-.629-.01s-.575.082-.876.411c-.3.33-1.15 1.124-1.15 2.741 0 1.617 1.177 3.179 1.341 3.4.165.219 2.316 3.537 5.61 4.96.783.338 1.395.54 1.872.692.787.25 1.5.215 2.065.13.63-.095 1.953-.798 2.227-1.57.275-.771.275-1.432.193-1.57-.083-.138-.302-.22-.63-.385z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

/* Adjustments for WooCommerce loop item (make card look premium) */
ul.products li.product {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 10px;
	padding: 15px !important;
	box-shadow: 0 3px 10px rgba(0,0,0,0.02);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
	border-color: rgba(242, 153, 74, 0.2);
}

ul.products li.product img {
	border-radius: 6px;
	margin-bottom: 12px !important;
	object-fit: cover;
	height: 180px;
	width: 100%;
}

ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px !important;
	color: var(--patucarro-dark) !important;
	font-weight: 600 !important;
	margin-bottom: 8px !important;
	min-height: 40px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

ul.products li.product .price {
	color: var(--patucarro-primary) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	margin-bottom: auto !important; /* Push buttons to the bottom of card */
}

/* ==========================================================================
   HOMEPAGE CUSTOM PREMIUM STYLES
   ========================================================================== */

.patucarro-home-hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?auto=format&fit=crop&w=1600&q=80') no-repeat center center;
    background-size: cover;
    padding: 100px 30px;
    text-align: center;
    color: #fff !important;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.patucarro-home-hero h1 {
    font-size: 2.8em !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-top: 0 !important;
}
.patucarro-home-hero p {
    font-size: 1.2em !important;
    max-width: 700px;
    margin: 0 auto 30px auto !important;
    color: #f0f0f0 !important;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.patucarro-btn-hero-shop {
    display: inline-block;
    background: #ffb900;
    color: #fff !important;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 185, 0, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}
.patucarro-btn-hero-shop:hover {
    background: #e0a300;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 185, 0, 0.6);
}
.patucarro-btn-hero-wa {
    display: inline-block;
    background: #25d366;
    color: #fff !important;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    margin-left: 15px;
    margin-bottom: 10px;
}
.patucarro-btn-hero-wa:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
@media (max-width: 768px) {
    .patucarro-btn-hero-wa {
        margin-left: 0;
        margin-top: 10px;
    }
}

.patucarro-home-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.patucarro-feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}
.patucarro-feature-card:hover {
    transform: translateY(-5px);
}
.patucarro-feature-card h3 {
    font-size: 1.4em !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}
.patucarro-feature-card p {
    color: #666 !important;
    font-size: 0.95em !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.patucarro-home-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: left;
}
.patucarro-contact-details h2 {
    font-size: 1.8em !important;
    font-weight: 800 !important;
    color: #333 !important;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
    border-bottom: 2px solid #ffb900;
    padding-bottom: 10px;
    display: inline-block;
}
.patucarro-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}
.patucarro-contact-list li {
    margin-bottom: 18px !important;
    font-size: 1.05em !important;
    color: #555 !important;
    display: flex;
    align-items: center;
}
.patucarro-contact-list li strong {
    color: #333 !important;
    width: 110px;
    display: inline-block;
    flex-shrink: 0;
}
.patucarro-contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.patucarro-social-btn {
    display: inline-block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 6px;
    color: #fff !important;
    font-size: 0.95em;
    font-weight: bold;
    text-decoration: none !important;
    transition: background 0.3s ease;
}
.patucarro-social-btn.facebook { background: #3b5998; }
.patucarro-social-btn.facebook:hover { background: #2d4373; }
.patucarro-social-btn.instagram { background: #e1306c; }
.patucarro-social-btn.instagram:hover { background: #c13584; }
.patucarro-social-btn.whatsapp { background: #25d366; }
.patucarro-social-btn.whatsapp:hover { background: #128c7e; }

.patucarro-store-image-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    min-height: 250px;
    background: #eee;
}
.patucarro-store-image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.patucarro-store-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: #fff;
}
.patucarro-store-image-overlay h4 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
}

.patucarro-home-cta-banner {
    background: linear-gradient(135deg, #1f2937, #111827);
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.patucarro-home-cta-banner h2 {
    color: #fff !important;
    font-size: 2em !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}
.patucarro-home-cta-banner p {
    font-size: 1.1em !important;
    color: #d1d5db !important;
    max-width: 600px;
    margin: 0 auto 30px auto !important;
}
.patucarro-btn-cta-wa {
    display: inline-block;
    background: #25d366;
    color: #fff !important;
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}
.patucarro-btn-cta-wa:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   PRODUCT DETAILS - PREMIUM COMPATIBILITY CARD
   ========================================================================== */

.patucarro-product-badge-card {
	margin-top: 30px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 5px solid #ffb900;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
	box-sizing: border-box;
	text-align: left;
}

.patucarro-product-badge-card:hover {
	box-shadow: 0 6px 20px rgba(255, 185, 0, 0.08);
	transform: translateY(-2px);
}

.patucarro-badge-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 15px;
}

.patucarro-badge-icon {
	font-size: 24px;
	line-height: 1;
}

.patucarro-badge-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	margin: 0 !important;
}

.patucarro-badge-body p {
	font-size: 15px !important;
	line-height: 1.6 !important;
	color: #475569 !important;
	margin-bottom: 15px !important;
}

.patucarro-badge-list {
	list-style: disc !important;
	padding-left: 20px !important;
	margin: 0 0 20px 0 !important;
}

.patucarro-badge-list li {
	font-size: 14.5px !important;
	line-height: 1.6 !important;
	color: #475569 !important;
	margin-bottom: 8px !important;
}

.patucarro-badge-list li strong {
	color: #1e293b !important;
}

.patucarro-badge-footer {
	display: flex;
	align-items: center;
	gap: 10px;
	border-top: 1px solid #f1f5f9;
	padding-top: 15px;
	margin-top: 15px;
}

.patucarro-badge-status-dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	background-color: #25d366;
	border-radius: 50%;
	box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	animation: pulse-animation 1.8s infinite;
}

.patucarro-badge-status-text {
	font-size: 13px !important;
	color: #64748b !important;
	font-weight: 600 !important;
}

/* ==========================================================================
   CABECERA PREMIUM Y BUSCADOR DESTACADO
   ========================================================================== */

/* Barra de anuncios superior (Top Bar) */
.patucarro-top-bar {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	color: #ffffff !important;
	padding: 8px 0;
	font-size: 12.5px;
	font-weight: 600;
	text-align: center;
	border-bottom: 2px solid #f2994a;
	letter-spacing: 0.5px;
	z-index: 999;
}
.patucarro-top-bar .col-full {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin: 0 auto;
	max-width: 1100px;
	padding: 0 15px;
}
.patucarro-top-bar a, .patucarro-top-bar span {
	color: #ffffff !important;
	text-decoration: none;
}
.patucarro-top-bar strong {
	color: #f2994a !important;
}
@media (max-width: 600px) {
	.patucarro-top-bar .col-full {
		flex-direction: column;
		gap: 4px;
	}
	.patucarro-top-bar span:nth-child(2) {
		display: none;
	}
}

/* Estilo de la Cabecera Global */
.site-header {
	background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.75) 100%), url('../images/repuestos-store-hero.png') !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	border-top: 4px solid var(--accent-color) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
	padding-top: 1.5em !important;
	padding-bottom: 1em !important;
	transition: all 0.3s ease;
}

/* Force menu and branding colors in the header to be bright and clear */
.site-header .main-navigation ul li a,
.site-header ul.menu li a,
.site-header .site-title a,
.site-header .site-branding h1 a,
.site-header .site-description {
	color: #f3f4f6 !important;
}

.site-header .main-navigation ul li a:hover,
.site-header ul.menu li a:hover,
.site-header .site-title a:hover,
.site-header .site-branding h1 a:hover {
	color: #ffffff !important;
}

/* Ajustes de menú de navegación principal - Botones Tipo Píldora Modernos */
.main-navigation ul.menu {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.main-navigation ul.menu li {
	margin: 0 !important;
	padding: 0 !important;
}

.main-navigation ul.menu li a {
	display: inline-block !important;
	background-color: rgba(255, 255, 255, 0.06) !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	padding: 8px 18px !important;
	border-radius: 30px !important;
	color: #f3f4f6 !important;
	font-weight: 700 !important;
	font-size: 13.5px !important;
	letter-spacing: 0.3px !important;
	text-decoration: none !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.main-navigation ul.menu li a:hover,
.main-navigation ul.menu li.current-menu-item a,
.main-navigation ul.menu li.current_page_item a {
	background: var(--patucarro-primary-gradient) !important;
	color: #ffffff !important;
	border-color: transparent !important;
	box-shadow: 0 4px 12px rgba(0, 132, 255, 0.3) !important;
	transform: translateY(-1px) !important;
}

/* Animación y logotipo */
.site-branding a img {
	transition: transform 0.3s ease !important;
}
.site-branding a img:hover {
	transform: scale(1.05) !important;
}

/* Distribución por Flexbox en Desktop */
@media (min-width: 768px) {
	.site-header .col-full {
		display: flex !important;
		flex-flow: row wrap !important;
		align-items: center !important;
		justify-content: space-between !important;
	}
	.site-header .site-branding {
		float: none !important;
		margin-bottom: 0 !important;
		margin-right: 0 !important;
		width: auto !important;
		max-width: 250px !important;
		flex: 0 0 22% !important;
	}
	.site-header .site-search {
		float: none !important;
		margin-left: 30px !important;
		margin-right: 30px !important;
		margin-bottom: 0 !important;
		width: auto !important;
		flex: 1 1 48% !important;
		max-width: 550px !important;
	}
	.site-header .site-header-cart {
		float: none !important;
		margin-left: 0 !important;
		margin-bottom: 0 !important;
		width: auto !important;
		flex: 0 0 auto !important;
	}
	.site-header .storefront-primary-navigation {
		float: none !important;
		width: 100% !important;
		flex: 1 1 100% !important;
		margin-top: 18px !important;
		border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
		padding-top: 14px !important;
	}
}

/* Forzar Buscador visible en Cabecera Móvil */
@media (max-width: 767px) {
	.site-header .site-search {
		display: block !important;
		width: 100% !important;
		clear: both !important;
		margin: 18px 0 5px 0 !important;
		float: none !important;
	}
}

/* Rediseño del Buscador en Cabecera (Desktop y Móvil) */
.site-header .site-search .woocommerce-product-search {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

.site-header .site-search .woocommerce-product-search input[type="search"] {
	width: 100% !important;
	height: 50px !important;
	padding: 12px 115px 12px 25px !important; /* espacio para el botón Buscar a la derecha */
	border-radius: 50px !important;
	border: 2px solid rgba(255, 255, 255, 0.2) !important;
	background-color: rgba(255, 255, 255, 0.96) !important; /* Fondo blanco */
	color: #1e293b !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	outline: none !important;
	line-height: normal !important;
}

/* Efecto de foco y hover en buscador */
.site-header .site-search .woocommerce-product-search input[type="search"]:hover {
	border-color: var(--accent-color) !important;
	box-shadow: 0 4px 15px rgba(0, 132, 255, 0.1) !important;
}

.site-header .site-search .woocommerce-product-search input[type="search"]:focus {
	border-color: var(--accent-color) !important;
	box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.15), 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Botón Buscar integrado */
.site-header .site-search .woocommerce-product-search button[type="submit"] {
	position: absolute !important;
	right: 5px !important;
	top: 5px !important;
	bottom: 5px !important;
	height: 40px !important;
	line-height: 40px !important;
	padding: 0 25px !important;
	border-radius: 50px !important;
	background: var(--patucarro-primary-gradient) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 700 !important;
	font-size: 13.5px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 2px 6px rgba(0, 132, 255, 0.3) !important;
	display: block !important;
	margin: 0 !important;
}

.site-header .site-search .woocommerce-product-search button[type="submit"]:hover {
	background: var(--accent-hover) !important;
	box-shadow: 0 4px 15px rgba(0, 132, 255, 0.4) !important;
	transform: translateY(-0.5px) !important;
}

/* Destacado extra en la Página de Inicio para el buscador */
.home .site-header .site-search {
	filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.15)) !important;
	transform: scale(1.01) !important;
}
@media (max-width: 767px) {
	.home .site-header .site-search {
		transform: none !important;
	}
}

/* ==========================================================================
   DISEÑO PREMIUM PARA EL ENCABEZADO DE LA TIENDA
   ========================================================================== */

.woocommerce-products-header {
	background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
	padding: 45px 30px !important;
	border-radius: 12px !important;
	margin-top: 15px !important;
	margin-bottom: 35px !important;
	text-align: center !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
	border: 1px solid #e2e8f0 !important;
	position: relative !important;
	overflow: hidden !important;
}

/* Efecto de luz de fondo en el banner */
.woocommerce-products-header::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(0, 132, 255, 0.04) 0%, rgba(255,255,255,0) 70%);
	pointer-events: none;
}

.woocommerce-products-header__title.page-title {
	color: #0f172a !important;
	font-size: 2.4em !important;
	font-weight: 850 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.5px !important;
	margin-bottom: 8px !important;
	margin-top: 0 !important;
	text-shadow: none !important;
}

/* Subtítulo dinámico del banner */
.patucarro-shop-subtitle {
	color: #475569 !important;
	font-size: 15.5px !important;
	line-height: 1.5 !important;
	max-width: 600px !important;
	margin: 0 auto 25px auto !important;
	font-weight: 500 !important;
}

/* Buscador gigante del banner */
.patucarro-shop-banner-search {
	position: relative !important;
	max-width: 600px !important;
	margin: 0 auto !important;
	display: block !important;
	z-index: 2 !important;
}

.patucarro-shop-banner-search input[type="search"] {
	width: 100% !important;
	height: 52px !important;
	padding: 15px 125px 15px 25px !important;
	border-radius: 50px !important;
	border: 2px solid transparent !important;
	background-color: rgba(255, 255, 255, 0.96) !important;
	color: #0f172a !important;
	font-size: 15.5px !important;
	font-weight: 600 !important;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	outline: none !important;
}

.patucarro-shop-banner-search input[type="search"]:focus {
	background-color: #ffffff !important;
	border-color: #f2994a !important;
	box-shadow: 0 8px 30px rgba(242, 153, 74, 0.35) !important;
}

.patucarro-shop-banner-search button[type="submit"] {
	position: absolute !important;
	right: 5px !important;
	top: 5px !important;
	bottom: 5px !important;
	height: 42px !important;
	line-height: 42px !important;
	padding: 0 28px !important;
	border-radius: 50px !important;
	background: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 2px 8px rgba(242, 153, 74, 0.4) !important;
	display: block !important;
	margin: 0 !important;
}

.patucarro-shop-banner-search button[type="submit"]:hover {
	background: linear-gradient(135deg, #e0883b 0%, #e0b83b 100%) !important;
	box-shadow: 0 4px 15px rgba(242, 153, 74, 0.5) !important;
	transform: translateY(-0.5px) !important;
}

/* ==========================================================================
   HOMEPAGE PREMIUM DARK THEME SCOPED
   ========================================================================== */

/* Scoped variables for homepage theme */
body.home {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

/* Set the shop counter background image on page wrapper */
body.home #page {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.55) 40%, #f1f5f9 90%), url('../images/repuestos-store-hero.png') !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
}

@media (max-width: 1024px) {
    body.home #page {
        background-size: cover !important;
    }
}

/* Make homepage site header glassmorphic light */
body.home .site-header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 132, 255, 0.12) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    padding-top: 1.5em !important;
    padding-bottom: 0.8em !important;
}

body.home .site-header .woocommerce-product-search input[type="search"] {
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

body.home .site-header .woocommerce-product-search input[type="search"]::placeholder {
    color: #94a3b8 !important;
}

body.home .main-navigation ul.menu li a {
    background-color: rgba(0, 132, 255, 0.04) !important;
    border: 1px solid rgba(0, 132, 255, 0.12) !important;
    color: #475569 !important;
}

body.home .main-navigation ul.menu li a:hover,
body.home .main-navigation ul.menu li.current-menu-item a {
    background: var(--patucarro-primary-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.2) !important;
}

body.home .site-branding .site-title a {
    color: #0f172a !important;
}

body.home .site-description {
    color: #64748b !important;
}

/* Hide empty entry-header/title "Inicio" on homepage to save vertical space */
body.home .entry-header {
    display: none !important;
}

/* Scoped content styles on homepage to remove all spacing margins */
body.home {
    background-color: #f1f5f9 !important;
    padding-top: 0 !important;
}

body.home #content {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body.home .site-content .col-full {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.home #primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.home #main {
    padding: 0 !important;
    margin: 0 !important;
}

body.home article.page {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.home .entry-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* 1. HERO SECTION */
.patucarro-hero-wrapper {
    background: transparent !important;
    overflow: hidden;
    padding: 130px 0 50px 0 !important; /* Spacing below the transparent floating header */
    margin-bottom: 30px;
    border-bottom: none !important;
}


.patucarro-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.patucarro-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.patucarro-hero-tag {
    background: rgba(0, 132, 255, 0.15) !important;
    border: 1px solid rgba(0, 132, 255, 0.3) !important;
    color: #38bdf8 !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-block;
}

.patucarro-hero-title {
    font-size: 3.4rem !important;
    line-height: 1.15;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif;
    text-shadow: none !important;
}

@media (max-width: 768px) {
    .patucarro-hero-title {
        font-size: 2.2rem !important;
    }
}

.patucarro-hero-title span {
    background: linear-gradient(135deg, var(--accent-color), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.patucarro-hero-desc {
    color: #334155 !important;
    font-size: 1.15rem !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    max-width: 800px;
    text-shadow: none !important;
}

/* Buscador integrado en Hero */
.patucarro-hero-search-box {
    margin: 15px 0 25px 0;
    max-width: 650px;
    width: 100%;
}

.patucarro-hero-search-box .woocommerce-product-search {
    position: relative;
    display: block;
    width: 100%;
}

.patucarro-hero-search-box .woocommerce-product-search input[type="search"] {
    width: 100% !important;
    height: 56px !important;
    padding: 15px 125px 15px 25px !important;
    border-radius: 50px !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.patucarro-hero-search-box .woocommerce-product-search input[type="search"]:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 5px rgba(0, 132, 255, 0.3), 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}

.patucarro-hero-search-box .woocommerce-product-search button[type="submit"] {
    position: absolute !important;
    right: 6px !important;
    top: 6px !important;
    bottom: 6px !important;
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 30px !important;
    border-radius: 50px !important;
    background: var(--patucarro-primary-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 13.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.3) !important;
}

.patucarro-hero-search-box .woocommerce-product-search button[type="submit"]:hover {
    background: var(--accent-hover) !important;
    box-shadow: 0 6px 18px rgba(0, 132, 255, 0.5) !important;
    transform: translateY(-0.5px) !important;
}

/* Especialistas en Marcas */
.patucarro-hero-brands {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.patucarro-hero-brands-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.patucarro-hero-brands-logos {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.patucarro-hero-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.patucarro-hero-brand-link img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.patucarro-hero-brand-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.4);
    background: #ffffff;
}

.patucarro-hero-features {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.patucarro-feature-badge {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 132, 255, 0.25) !important;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a !important;
    box-shadow: 0 8px 20px rgba(0, 132, 255, 0.06) !important;
    backdrop-filter: blur(8px);
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}

.patucarro-badge-icon {
    font-size: 1.6rem;
}

.patucarro-feature-badge span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    color: #0f172a !important;
}

.patucarro-hero-image-wrapper,
.patucarro-hero-image,
.patucarro-hero-glow {
    display: none !important;
}

/* 2. DELIVERY SECTION */
.patucarro-delivery-wrapper {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-bottom: 1px solid var(--border-color);
}

.patucarro-delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 0 15px;
}

.patucarro-delivery-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.patucarro-section-subtitle {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-family: 'Outfit', sans-serif;
}

.patucarro-section-title {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.patucarro-delivery-info p {
    color: var(--text-secondary) !important;
    font-size: 1rem !important;
    line-height: 1.6;
    margin: 0;
}

.patucarro-delivery-platforms {
    display: flex;
    gap: 15px;
    margin: 15px 0 0 0;
}

.patucarro-platform-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 15px 10px;
    border-radius: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.patucarro-platform-badge:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.patucarro-platform-badge span {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.patucarro-platform-icon {
    font-size: 1.8rem;
}

.patucarro-delivery-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--patucarro-shadow);
}

.patucarro-delivery-table-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.patucarro-delivery-table {
    width: 100% !important;
    border-collapse: collapse !important;
    text-align: left !important;
    background: transparent !important;
    background-color: transparent !important;
}

.patucarro-delivery-table th, .patucarro-delivery-table td {
    padding: 12px 10px !important;
    border-bottom: 1px solid var(--border-color) !important;
    background: transparent !important;
    background-color: transparent !important;
}

.patucarro-delivery-table th {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    color: var(--text-secondary) !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.patucarro-delivery-table tr {
    background: transparent !important;
    background-color: transparent !important;
}

.patucarro-delivery-table tr:last-child td {
    border-bottom: none !important;
}

.patucarro-delivery-table td {
    font-size: 0.9rem !important;
    color: var(--text-secondary) !important;
}

.patucarro-delivery-table td strong {
    color: var(--text-primary) !important;
}

.patucarro-delivery-time {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: var(--bg-primary) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 0.8rem !important;
    color: var(--text-secondary) !important;
}

/* 3. HOME FEATURES SECTION (LIGHT) */
body.home .patucarro-home-features {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px !important;
    margin: 0 auto 40px auto !important;
    max-width: 1200px;
    padding: 0 15px;
}

body.home .patucarro-feature-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    padding: 30px 20px !important;
    border-radius: 12px !important;
    text-align: center;
    box-shadow: var(--patucarro-shadow) !important;
    transition: all 0.3s ease !important;
}

body.home .patucarro-feature-card:hover {
    transform: translateY(-5px) !important;
    border-color: var(--accent-color) !important;
    box-shadow: var(--patucarro-shadow-hover) !important;
}

body.home .patucarro-feature-icon {
    font-size: 2.2rem !important;
    margin-bottom: 15px;
    display: inline-block;
}

body.home .patucarro-feature-card h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 12px !important;
}

body.home .patucarro-feature-card p {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

/* 4. HOME CONTACT SECTION (LIGHT) */
body.home .patucarro-home-contact {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 auto 40px auto !important;
    max-width: 1200px;
    padding: 35px 25px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: var(--patucarro-shadow) !important;
    text-align: left !important;
}

body.home .patucarro-contact-details h2 {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid var(--accent-color) !important;
    padding-bottom: 8px !important;
    display: inline-block !important;
}

body.home .patucarro-contact-list li {
    font-size: 1rem !important;
    color: var(--text-secondary) !important;
    margin-bottom: 15px !important;
}

body.home .patucarro-contact-list li strong {
    color: var(--text-primary) !important;
}

body.home .patucarro-store-image-box {
    box-shadow: var(--patucarro-shadow) !important;
    border: 1px solid var(--border-color) !important;
}

/* 5. CTA INQUIRY BANNER (LIGHT) */
body.home .patucarro-home-cta-banner {
    background: linear-gradient(135deg, var(--accent-color), #3b82f6) !important;
    border: 1px solid rgba(0, 132, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: var(--patucarro-shadow-hover) !important;
    margin: 0 auto 50px auto !important;
    max-width: 1200px;
    padding: 50px 30px !important;
}

body.home .patucarro-home-cta-banner h2 {
    font-size: 1.8rem !important;
    color: #ffffff !important;
}

body.home .patucarro-home-cta-banner p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1rem !important;
}

body.home .patucarro-btn-cta-wa {
    background: #ffffff !important;
    color: var(--accent-color) !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    border-radius: 8px !important;
}

body.home .patucarro-btn-cta-wa:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    background: var(--bg-primary) !important;
}

/* Scoped Footer on homepage */
body.home .site-footer {
    background-color: var(--bg-card) !important;
    border-top: 1px solid var(--border-color) !important;
    color: var(--text-secondary) !important;
}

body.home .site-footer a {
    color: var(--text-secondary) !important;
}

body.home .site-footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsiveness adjustments */
@media (max-width: 768px) {
    .patucarro-hero-container, .patucarro-delivery-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .patucarro-hero-content {
        align-items: center !important;
        text-align: center !important;
    }
    
    .patucarro-hero-tag {
        align-self: center !important;
    }
    
    .patucarro-hero-buttons {
        justify-content: center !important;
        width: 100% !important;
    }
    
    .patucarro-hero-features {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    
    .patucarro-hero-title {
        font-size: 2.2rem !important;
    }
    
    .patucarro-delivery-platforms {
        flex-direction: column !important;
    }
    
    .patucarro-btn-cta, .patucarro-btn-secondary {
        flex: 1 !important;
    }
}

/* Brand logos premium styles */
.patucarro-brands-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-left: auto;
}

.patucarro-brands-title {
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    color: var(--accent-color);
    background: rgba(0, 132, 255, 0.08);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid rgba(0, 132, 255, 0.2);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.patucarro-title-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.patucarro-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                border-color 0.4s ease;
    overflow: hidden;
    padding: 10px;
}

.patucarro-logo-link img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.4s ease !important;
}

.patucarro-logo-link:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 20px rgba(0, 132, 255, 0.15);
    border-color: var(--accent-color);
}

.patucarro-logo-link:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments for brand container on homepage */
@media (max-width: 768px) {
    body.home .entry-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    body.home .patucarro-brands-container {
        align-items: center !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    body.home .patucarro-title-logos {
        justify-content: center !important;
    }
}


/* ==========================================================================
   WOOCOMMERCE MY ACCOUNT PREMIUM STYLING
   ========================================================================== */

/* Main WooCommerce Account Container */
.woocommerce-account .woocommerce {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 60px 15px !important;
}

/* Page Header and Title */
.woocommerce-account h1.entry-title,
.woocommerce-account h1.page-title {
    text-align: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 2.8rem !important;
    color: var(--patucarro-dark) !important;
    margin-bottom: 50px !important;
    position: relative !important;
}

.woocommerce-account h1.entry-title::after,
.woocommerce-account h1.page-title::after {
    content: '' !important;
    display: block !important;
    width: 80px !important;
    height: 4px !important;
    background: var(--patucarro-primary-gradient) !important;
    margin: 12px auto 0 auto !important;
    border-radius: 4px !important;
}

/* Customer Login Form Set (Login / Register columns) */
.woocommerce-account #customer_login {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
    flex-wrap: wrap !important;
    margin-top: 30px !important;
    width: 100% !important;
}

/* Columna de Login (Estándar Premium) */
.woocommerce-account #customer_login .u-column1,
.woocommerce-account form.login {
    flex: 1 !important;
    min-width: 320px !important;
    max-width: 480px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 40px 35px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce-account #customer_login .u-column1::before,
.woocommerce-account form.login::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: #cbd5e1 !important; /* Borde gris slate */
}

/* Columna de Registro (Destacada Premium con 10% OFF) */
.woocommerce-account #customer_login .u-column2,
.woocommerce-account form.register {
    flex: 1 !important;
    min-width: 320px !important;
    max-width: 480px !important;
    background: #ffffff !important;
    border: 2px solid var(--accent-color) !important; /* Borde azul de acento */
    border-radius: 20px !important;
    padding: 40px 35px !important;
    box-shadow: 0 15px 35px rgba(0, 132, 255, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce-account #customer_login .u-column2::before,
.woocommerce-account form.register::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important;
    background: var(--patucarro-primary-gradient) !important; /* Borde degradado azul */
}

.woocommerce-account #customer_login .u-column1:hover,
.woocommerce-account form.login:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07) !important;
}

.woocommerce-account #customer_login .u-column2:hover,
.woocommerce-account form.register:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px rgba(0, 132, 255, 0.15) !important;
}

/* Form Titles */
.woocommerce-account #customer_login h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: var(--patucarro-dark) !important;
    margin-bottom: 25px !important;
    text-align: center !important;
}

/* Form Inputs and Labels */
.woocommerce-account form .form-row {
    margin-bottom: 20px !important;
}

.woocommerce-account form label {
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: var(--patucarro-gray-dark) !important;
    margin-bottom: 8px !important;
    display: block !important;
}

.woocommerce-account form input.input-text,
.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"] {
    width: 100% !important;
    padding: 14px 18px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    color: var(--patucarro-dark) !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    transition: all 0.25s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-account form input.input-text:focus,
.woocommerce-account form input[type="text"]:focus,
.woocommerce-account form input[type="email"]:focus,
.woocommerce-account form input[type="password"]:focus {
    border-color: var(--accent-color) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.15) !important;
}

/* Remember Me Checkbox */
.woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 25px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: var(--patucarro-gray-dark) !important;
    user-select: none !important;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--accent-color) !important;
    cursor: pointer !important;
}

/* Submit Buttons */
.woocommerce-account form button.button,
.woocommerce-account form button[type="submit"] {
    width: 100% !important;
    background: var(--patucarro-primary-gradient) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 16px 20px !important;
    border-radius: 10px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 15px rgba(0, 132, 255, 0.2) !important;
    margin-top: 10px !important;
}

.woocommerce-account form button.button:hover,
.woocommerce-account form button[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(0, 132, 255, 0.35) !important;
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-color)) !important;
}

.woocommerce-account form button.button:active,
.woocommerce-account form button[type="submit"]:active {
    transform: translateY(-1px) !important;
}

/* Lost Password Link */
.woocommerce-LostPassword {
    text-align: center !important;
    margin-top: 20px !important;
    font-size: 0.95rem !important;
}

.woocommerce-LostPassword a {
    color: var(--accent-color) !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

.woocommerce-LostPassword a:hover {
    color: var(--accent-hover) !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   LOGGED-IN DASHBOARD PANEL STYLING
   ========================================================================== */

/* Layout structure: Sidebar navigation + Content */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 28% !important;
    float: left !important;
    margin-right: 4% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 10px !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex !important;
    align-items: center !important;
    padding: 14px 18px !important;
    color: var(--patucarro-gray-dark) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    gap: 12px !important;
}

/* Custom Unicode Icons in Sidebar Menu */
.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "🏠" !important; font-size: 1.25rem !important; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "📦" !important; font-size: 1.25rem !important; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: "📥" !important; font-size: 1.25rem !important; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "📍" !important; font-size: 1.25rem !important; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "👤" !important; font-size: 1.25rem !important; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "🚪" !important; font-size: 1.25rem !important; }

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: var(--patucarro-gray-light) !important;
    color: var(--patucarro-primary) !important;
    padding-left: 24px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: var(--patucarro-primary-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(242, 153, 74, 0.25) !important;
}

/* Dashboard Content Area */
.woocommerce-account .woocommerce-MyAccount-content {
    width: 68% !important;
    float: left !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 35px 30px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02) !important;
    min-height: 450px !important;
}

/* Fix floats */
.woocommerce-account .woocommerce::after {
    content: "" !important;
    display: table !important;
    clear: both !important;
}

/* Dashboard text styling */
.woocommerce-account .woocommerce-MyAccount-content p {
    font-size: 1.05rem !important;
    color: var(--patucarro-dark) !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

.woocommerce-account .woocommerce-MyAccount-content a {
    color: var(--patucarro-primary) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: #e28532 !important;
    text-decoration: underline !important;
}

/* Order/Shop Tables */
.woocommerce-MyAccount-content table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 25px 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01) !important;
}

.woocommerce-MyAccount-content table.shop_table th {
    background-color: var(--patucarro-gray-light) !important;
    color: var(--patucarro-dark) !important;
    font-weight: 800 !important;
    padding: 16px 14px !important;
    font-size: 0.95rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-MyAccount-content table.shop_table td {
    padding: 16px 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 0.95rem !important;
    color: var(--patucarro-dark) !important;
}

.woocommerce-MyAccount-content table.shop_table tr:last-child td {
    border-bottom: none !important;
}

/* Table Button actions */
.woocommerce-MyAccount-content table.shop_table .button {
    display: inline-block !important;
    background: var(--patucarro-gray-light) !important;
    color: var(--patucarro-dark) !important;
    border: 1px solid var(--patucarro-gray-medium) !important;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}

.woocommerce-MyAccount-content table.shop_table .button:hover {
    background: var(--patucarro-primary-gradient) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(242, 153, 74, 0.2) !important;
}

/* Address columns styling */
.woocommerce-MyAccount-content .addresses {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-top: 25px !important;
}

.woocommerce-MyAccount-content .addresses .col-1,
.woocommerce-MyAccount-content .addresses .col-2 {
    flex: 1 !important;
    min-width: 260px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01) !important;
}

.woocommerce-MyAccount-content .addresses header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 18px !important;
    border-bottom: 1.5px solid #cbd5e1 !important;
    padding-bottom: 10px !important;
}

.woocommerce-MyAccount-content .addresses header h3 {
    margin: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--patucarro-dark) !important;
}

.woocommerce-MyAccount-content .addresses address {
    font-style: normal !important;
    font-size: 0.95rem !important;
    color: var(--patucarro-gray-dark) !important;
    line-height: 1.6 !important;
}

/* Form alerts / messages styling */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    list-style: none !important;
    padding: 16px 20px !important;
    border-radius: 10px !important;
    margin-bottom: 25px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-error {
    background-color: #fef2f2 !important;
    border-left: 5px solid #ef4444 !important;
    color: #b91c1c !important;
}

.woocommerce-info {
    background-color: #eff6ff !important;
    border-left: 5px solid #3b82f6 !important;
    color: #1d4ed8 !important;
}

.woocommerce-message {
    background-color: #f0fdf4 !important;
    border-left: 5px solid #22c55e !important;
    color: #15803d !important;
}

/* Edit details forms */
.woocommerce-account form.edit-account fieldset {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin: 30px 0 !important;
    background-color: #f8fafc !important;
}

.woocommerce-account form.edit-account legend {
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    color: var(--patucarro-dark) !important;
    padding: 0 12px !important;
}

/* Responsive adjust for panels */
@media (max-width: 900px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 30px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }
}

/* WooCommerce My Account Registration Discount Banner */
.patucarro-registration-discount-card {
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.04) 0%, rgba(59, 130, 246, 0.02) 100%);
    border: 1px dashed var(--accent-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.02);
}

.patucarro-discount-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.patucarro-registration-discount-card h4 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 0 8px 0 !important;
}

.patucarro-registration-discount-card p {
    font-size: 0.88rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.4;
    margin: 0 0 12px 0 !important;
}

.patucarro-coupon-code {
    display: inline-block;
    background: #ffffff;
    border: 2px dashed var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 8px 24px;
    border-radius: 6px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    user-select: all;
    cursor: pointer;
    transition: all 0.3s ease;
}

.patucarro-coupon-code:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.02);
}

.patucarro-coupon-terms {
    font-size: 0.72rem !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    font-style: italic;
}

/* Contact Page Premium Styling */
.patucarro-contact-page-wrapper {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.patucarro-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 768px) {
    .patucarro-contact-grid {
        grid-template-columns: 1fr;
    }
}

.patucarro-contact-card-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--patucarro-shadow);
}

.patucarro-contact-card-info h3 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    margin-bottom: 25px !important;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.patucarro-contact-page-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

.patucarro-contact-page-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 20px !important;
}

.patucarro-contact-icon {
    font-size: 1.5rem;
    background: var(--bg-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.patucarro-contact-page-list li strong {
    color: var(--text-primary) !important;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}

.patucarro-contact-page-list li p {
    margin: 0 !important;
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
}

.patucarro-contact-page-list li p a {
    color: var(--accent-color) !important;
    text-decoration: none;
}

.patucarro-contact-page-list li p a:hover {
    color: var(--accent-hover) !important;
    text-decoration: underline;
}

.patucarro-navigation-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.patucarro-nav-btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s ease;
}

.patucarro-nav-btn.waze {
    background: #33f0ff !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(51, 240, 255, 0.2);
}

.patucarro-nav-btn.waze:hover {
    background: #2cd2e0 !important;
    transform: translateY(-2px);
}

.patucarro-nav-btn.google-maps {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
}

.patucarro-nav-btn.google-maps:hover {
    background: var(--border-color) !important;
    transform: translateY(-2px);
}

.patucarro-contact-map-box {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--patucarro-shadow);
}

/* ==========================================================================
   GLOBAL PREMIUM SEARCH STYLING (POINT 9)
   ========================================================================== */
.woocommerce-product-search, 
form.search-form,
form.woocommerce-product-search {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.woocommerce-product-search input[type="search"],
form.search-form input[type="search"],
.widget_product_search input[type="search"],
.widget_search input[type="search"] {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 110px 10px 20px !important;
    border-radius: 50px !important;
    border: 2px solid var(--border-color) !important;
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    line-height: normal !important;
}

.woocommerce-product-search input[type="search"]:focus,
form.search-form input[type="search"]:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.1), 0 6px 15px rgba(0, 0, 0, 0.08) !important;
}

.woocommerce-product-search button[type="submit"],
.woocommerce-product-search input[type="submit"],
form.search-form button[type="submit"],
form.search-form input[type="submit"],
.widget_product_search button[type="submit"],
.widget_search button[type="submit"] {
    position: absolute !important;
    right: 4px !important;
    top: 4px !important;
    bottom: 4px !important;
    height: calc(100% - 8px) !important;
    padding: 0 22px !important;
    border-radius: 50px !important;
    background: var(--patucarro-primary-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(0, 132, 255, 0.25) !important;
    display: inline-block !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.woocommerce-product-search button[type="submit"]:hover,
form.search-form button[type="submit"]:hover,
.widget_product_search button[type="submit"]:hover {
    background: var(--accent-hover) !important;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.4) !important;
    transform: translateY(-0.5px) !important;
}

.patucarro-shop-banner-search button[type="submit"] {
    background: var(--patucarro-primary-gradient) !important;
    box-shadow: 0 2px 8px rgba(0, 132, 255, 0.3) !important;
}

.patucarro-shop-banner-search button[type="submit"]:hover {
    background: var(--accent-hover) !important;
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.5) !important;
}

/* ==========================================================================
   MY ACCOUNT PROMO BANNER STYLING (POINT 6)
   ========================================================================== */
.patucarro-account-promo-banner {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%) !important;
    border: 1px solid rgba(0, 132, 255, 0.2) !important;
    border-radius: 16px !important;
    padding: 25px 30px !important;
    margin-bottom: 40px !important;
    box-shadow: 0 10px 25px rgba(0, 132, 255, 0.03) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .patucarro-account-promo-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
        gap: 12px !important;
    }
}

.patucarro-promo-icon {
    font-size: 2.5rem !important;
    line-height: 1 !important;
}

.patucarro-promo-text {
    flex: 1 !important;
}

.patucarro-promo-text h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.3 !important;
}

.patucarro-promo-text p {
    font-size: 0.95rem !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.patucarro-highlight-coupon {
    display: inline-block !important;
    background: #ffffff !important;
    border: 1px dashed var(--accent-color) !important;
    color: var(--accent-color) !important;
    font-weight: 800 !important;
    padding: 2px 10px !important;
    border-radius: 4px !important;
    font-family: 'Outfit', sans-serif !important;
    margin: 0 4px !important;
}

/* ==========================================================================
   NUEVOS AJUSTES PREMIUM: CHAT, MODALES, PESTAÑAS Y HOVER BADGES
   ========================================================================== */

/* Tarjetas del Hero: Hover brillante y cursor */
.patucarro-feature-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(15, 23, 42, 0.8)) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.patucarro-feature-badge:hover {
    transform: translateY(-3px) scale(1.02) !important;
    background: #ffffff !important;
    border-color: var(--patucarro-primary) !important;
    box-shadow: 0 12px 30px rgba(0, 132, 255, 0.16) !important;
}

/* Pestañas del Catálogo */
.patucarro-shop-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 10px 0;
    flex-wrap: wrap;
}
.patucarro-shop-tab {
    padding: 10px 22px;
    border-radius: 30px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
.patucarro-shop-tab:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}
.patucarro-shop-tab.active {
    background: linear-gradient(135deg, #0084ff, #3b82f6) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 18px rgba(0, 132, 255, 0.3) !important;
}

/* Modales Premium */
.patucarro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.patucarro-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.patucarro-modal-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    width: 90%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #334155;
}
.patucarro-modal-overlay.active .patucarro-modal-content {
    transform: scale(1);
}
.patucarro-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.patucarro-modal-close:hover {
    background: #ef4444;
    color: #fff;
    border-color: transparent;
}
.patucarro-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 15px 0;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}
.patucarro-modal-body h4 {
    margin-top: 20px;
    margin-bottom: 8px;
    color: #0f172a;
    font-weight: 700;
}
.patucarro-modal-body p, .patucarro-modal-body li {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
}
.patucarro-modal-body select, .patucarro-modal-body input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    margin-top: 6px;
    transition: border 0.3s, box-shadow 0.3s;
}
.patucarro-modal-body select:focus, .patucarro-modal-body input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Floating Chat Widget */
.patucarro-chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
    color: #ffffff;
    font-size: 1.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.15);
}
.patucarro-chat-bubble:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5);
}
.patucarro-chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f172a;
}
.patucarro-chat-window {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 360px;
    height: 480px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 99999;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.patucarro-chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}
.patucarro-chat-header {
    background: rgba(30, 41, 59, 0.7);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.patucarro-chat-header-title {
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.patucarro-chat-status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
}
.patucarro-chat-header-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.patucarro-chat-header-close:hover {
    color: #ffffff;
}
.patucarro-chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 23, 42, 0.3);
}
.patucarro-chat-message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
}
.patucarro-chat-message.customer {
    background: rgba(255, 255, 255, 0.07);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}
.patucarro-chat-message.operator {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}
.patucarro-chat-footer {
    padding: 12px;
    background: rgba(30, 41, 59, 0.6);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.patucarro-chat-form {
    display: flex;
    gap: 8px;
}
.patucarro-chat-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s;
}
.patucarro-chat-input:focus {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(15, 23, 42, 0.8);
}
.patucarro-chat-send {
    background: #3b82f6;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.patucarro-chat-send:hover {
    background: #1d4ed8;
}

