/*
 * Janeth Zambrano Theme — Custom Styles
 * Tailwind utility classes are used throughout.
 * This file contains additional custom CSS.
 */

body {
    font-family: 'Inter', sans-serif;
    background-color: #faf9f6;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* --- Animations --- */
.floating {
    animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
    0%   { transform: translate(0, 0px); }
    50%  { transform: translate(0, 20px); }
    100% { transform: translate(0, -0px); }
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* --- Social Icons --- */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.social-icon:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}
.social-icon svg {
    width: 18px;
    height: 18px;
    fill: #aaa;
    transition: fill 0.3s;
}
.social-icon:hover svg {
    fill: white;
}
.social-icon-light {
    border-color: #d4d4d4;
}
.social-icon-light:hover {
    border-color: #a05c33;
}
.social-icon-light svg {
    fill: #737373;
}
.social-icon-light:hover svg {
    fill: #a05c33;
}

/* --- Gold Line Divider --- */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #a05c33, transparent);
    width: 60px;
}

.gold-divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a05c33, transparent);
}

/* --- Pastel Blobs --- */
.pastel-blush {
    background: radial-gradient(circle at center, rgba(245, 215, 210, 0.3), transparent 70%);
}
.pastel-lavender {
    background: radial-gradient(circle at center, rgba(210, 215, 245, 0.2), transparent 70%);
}
.pastel-rose {
    background: radial-gradient(circle at center, rgba(240, 200, 210, 0.25), transparent 70%);
}

/* --- Product Cards --- */
.product-card {
    background: white;
    border: 1px solid #e5e5e5;
    transition: all 0.4s ease;
}
.product-card:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.product-card .img-wrap {
    overflow: hidden;
    position: relative;
}
.product-card .img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.product-card:hover .img-wrap img {
    transform: scale(1.05);
}
.product-card .product-info {
    padding: 20px 24px 24px;
}
.product-card .product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 4px;
}
.product-card .product-price {
    font-size: 0.875rem;
    color: #a05c33;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.product-card .btn-group {
    display: flex;
    gap: 8px;
}
.product-card .btn-buy {
    flex: 1;
    padding: 10px 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.3s;
}
.product-card .btn-buy:hover {
    background: #333;
}
.product-card .btn-wa {
    flex: 1;
    padding: 10px 16px;
    background: #25D366;
    color: white;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.product-card .btn-wa:hover {
    background: #1ebe5a;
}
.product-card .btn-wa svg {
    width: 14px;
    height: 14px;
    fill: white;
}

/* --- Checkout Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: #faf9f6;
    max-width: 480px;
    width: 100%;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}
.modal-close:hover {
    color: #333;
}

/* --- Contact Form Inputs --- */
.contact-input {
    width: 100%;
    background: white;
    border: 1px solid #e5e5e5;
    padding: 14px 18px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s;
    font-weight: 300;
}
.contact-input:focus {
    border-color: #a05c33;
}
.contact-input::placeholder {
    color: #ccc;
    font-style: italic;
}
.contact-label {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #a3a3a3;
    margin-bottom: 6px;
    font-weight: 500;
}

/* --- Process Circle --- */
.process-step .step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1a1a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 0.9rem;
    font-weight: 300;
    transition: background 0.5s;
}
.process-step:hover .step-num {
    background: #a05c33;
}

/* --- Nav Underline --- */
.nav-underline {
    position: relative;
}
.nav-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: black;
    transition: width 0.5s;
}
.nav-underline:hover::after {
    width: 100%;
}

/* --- Payment Input --- */
.payment-input {
    width: 100%;
    background: white;
    border: 1px solid #e5e5e5;
    padding: 12px 16px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}
.payment-input:focus {
    border-color: #1a1a1a;
}

/* --- Filter Tags --- */
.filter-tag {
    cursor: pointer;
    user-select: none;
}

/* === WooCommerce Reset — kill all default WC layout === */
.woocommerce .products,
.woocommerce-page .products,
.woocommerce ul.products,
.woocommerce-page ul.products {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
}
.woocommerce .products .product,
.woocommerce-page .products .product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    clear: none !important;
}

/* === Product Cards (match front-page.php exactly) === */
.product-card .img-wrap img,
.woocommerce .product-card .img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.product-card:hover .img-wrap img {
    transform: scale(1.05);
}

.product-card .btn-buy,
.product-card .add_to_cart_button,
.product-card .ajax_add_to_cart {
    flex: 1;
    padding: 10px 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}
.product-card .btn-buy:hover,
.product-card .add_to_cart_button:hover {
    background: #333;
    color: white;
}
.product-card .added_to_cart {
    display: none !important;
}

.product-card .btn-wa {
    flex: 1;
    padding: 10px 16px;
    background: #25D366;
    color: white;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 0;
}
.product-card .btn-wa:hover {
    background: #1ebe5a;
    color: white;
}
.product-card .btn-wa svg {
    width: 14px;
    height: 14px;
    fill: white;
}

/* === Single Product === */
.btn-wa-single {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 14px 20px;
    background: #25D366;
    color: white;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    border-radius: 0;
}
.btn-wa-single:hover {
    background: #1ebe5a;
    color: white;
}

.single_add_to_cart_button {
    flex: 1;
    padding: 14px 24px;
    background: #1a1a1a;
    color: white;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0;
    width: 100%;
}
.single_add_to_cart_button:hover {
    background: #333;
}

.woocommerce .cart .qty {
    width: 48px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
}
.qty-btn {
    cursor: pointer;
    user-select: none;
}

/* === Checkout Styles === */
.woocommerce-checkout .select2-container .select2-selection--single {
    height: auto;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    padding: 8px 12px;
    background: white;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: #737373;
    font-size: 0.9rem;
    font-weight: 300;
}
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow {
    top: 10px;
    right: 8px;
}
.woocommerce-checkout .select2-container--open .select2-dropdown {
    border-color: #a05c33;
    border-radius: 0;
}

.woocommerce-checkout .woocommerce-checkout-payment {
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    padding: 24px;
}
.woocommerce-checkout .payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
}
.woocommerce-checkout .payment_methods li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.woocommerce-checkout .payment_methods li:last-child {
    border-bottom: none;
}
.woocommerce-checkout .payment_methods label {
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
}
.woocommerce-checkout .payment_methods .input-radio {
    margin-right: 8px;
}
.woocommerce-checkout .payment_box {
    background: white;
    padding: 16px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #737373;
    font-weight: 300;
    border: 1px solid #eee;
}
.woocommerce-checkout .place-order {
    margin-top: 20px;
}
.woocommerce-checkout .button.alt {
    width: 100%;
    padding: 16px 24px;
    background: #a05c33;
    color: white;
    border: none;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0;
}
.woocommerce-checkout .button.alt:hover {
    background: #8a4e2b;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #737373;
    font-weight: 300;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.woocommerce-checkout .form-row {
    margin-bottom: 0;
}
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 16px;
}
.woocommerce-checkout .woocommerce-shipping-fields .shipping_address {
    margin-top: 12px;
}

/* === Notices === */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 300;
    border: 1px solid #e5e5e5;
    background: white;
    position: relative;
    color: #737373;
}
.woocommerce-message { border-left: 3px solid #25D366; }
.woocommerce-info { border-left: 3px solid #a05c33; }
.woocommerce-error { border-left: 3px solid #dc3232; list-style: none; }
.woocommerce-error li { margin-bottom: 4px; }
.woocommerce-message::before,
.woocommerce-info::before { display: none; }
.woocommerce-message .button,
.woocommerce-info .button {
    float: right;
    padding: 8px 16px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-radius: 0;
}
.woocommerce-message .button:hover,
.woocommerce-info .button:hover { background: #333; }

/* === Quantity input arrows hide === */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* === Pagination === */
.woocommerce nav.woocommerce-pagination {
    margin-top: 48px;
    text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    display: inline-flex;
    gap: 4px;
}
.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
    padding: 0;
    border: none;
    float: none;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
    font-weight: 300;
    color: #737373;
    text-decoration: none;
    background: white;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #a05c33;
    color: #a05c33;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: white;
}

/* === WooCommerce Gallery === */
.woocommerce-product-gallery { overflow: hidden; }

/* === Result count + ordering === */
.woocommerce-ordering select {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
    font-size: 0.75rem;
    font-weight: 300;
    outline: none;
    cursor: pointer;
}
.woocommerce-result-count {
    font-size: 0.8rem;
    color: #a3a3a3;
    font-weight: 300;
}

