/*
Theme Name: Origenes Theme
Theme URI: 
Author: Fergoga
Author URI: 
Description: Custom WordPress & WooCommerce theme for Origenes based on React/Vite design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: origenes
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --primary: #FF005C;
    --secondary: #FFB300;
    --purple: #6B2D5C;
    --bg-color: #FFF5F7;
    --text-main: #1A1A1A;
    --white: #FFFFFF;
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-weight: 500;
    color: var(--text-main);
}

.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-actions>* {
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    align-items: center;
    padding: 5% 5%;
    gap: 5%;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 0, 92, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 0, 92, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #ccc;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: rotate(2deg) scale(1.02);
    /* Apply vibrate/shake effect on hover */
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: rotate(2deg) scale(1.02) translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: rotate(2deg) scale(1.02) translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: rotate(2deg) scale(1.02) translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: rotate(2deg) scale(1.02) translate3d(4px, 0, 0);
    }
}


/* --- Features Section --- */
.features-section {
    text-align: center;
    padding: 5% 10%;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- WooCommerce Section --- */
.products-section {
    padding: 5% 10%;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin: 0 !important;
}

ul.products li.product {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin: 0 !important;
    width: 100% !important;
    position: relative;
    text-align: left !important;
}

ul.products li.product .onsale,
ul.products li.product .badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--secondary);
    color: var(--text-main);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

ul.products li.product img {
    border-radius: 16px;
    margin-bottom: 1.5rem !important;
}

ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin-bottom: 0.5rem !important;
}

ul.products li.product .price {
    color: var(--primary) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    position: absolute;
    right: 1.5rem;
    top: auto;
    margin-top: -2.3rem;
    /* Align with title roughly */
}

ul.products li.product .short-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
}

ul.products li.product .button.add_to_cart_button {
    width: 100%;
    background: var(--primary) !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: block;
}

/* --- Newsletter Section --- */
.newsletter-section {
    margin: 5% 10%;
    background: linear-gradient(135deg, #FF6B6B, #FFA07A);
    border-radius: 32px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: none;
    width: 300px;
    max-width: 100%;
}

.newsletter-form button {
    background: #6B2D5C;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
}

/* --- Footer --- */
.site-footer {
    background: var(--white);
    padding: 5% 5% 2%;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
    color: #555;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
}

/* --- WooCommerce My Account Section --- */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0.85rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    font-weight: 500;
    color: var(--text-main);
    /* Custom bullet point styling like the image */
    display: list-item;
    list-style-position: inside;
    list-style-type: disc;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 300px;
    font-size: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.woocommerce-account .woocommerce-MyAccount-content a {
    font-weight: 600;
}

.woocommerce-account .entry-title {
    font-size: 3rem;
    margin-bottom: 0;
}

/* --- Nosotros y Contacto Page --- */
.nosotros-page-main {
    padding: 5% 5%;
}

.nosotros-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-start;
}

.nosotros-col-left {
    flex: 1;
    min-width: 300px;
}

.nosotros-hero-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.nosotros-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 32px;
}

.nosotros-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--secondary);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
    text-transform: uppercase;
}

.nosotros-hero-text {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: var(--white);
    font-size: 2rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nosotros-title {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.nosotros-content-editable p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.nosotros-benefits {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    gap: 0.5rem;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Columna Derecha Contacto */
.nosotros-col-right {
    flex: 0 0 450px;
}

.contacto-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contacto-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contacto-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contacto-form .form-group {
    margin-bottom: 1.5rem;
}

.contacto-form .form-row {
    display: flex;
    gap: 1rem;
}

.contacto-form .form-row .form-group {
    flex: 1;
}

.contacto-form label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.contacto-form input,
.contacto-form select,
.contacto-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #fdfdfd;
}

.contacto-info {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.info-block strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.info-block p {
    color: #666;
    margin: 0;
}

.contacto-map {
    margin-top: 2rem;
}

.map-placeholder {
    background: #EAE6DF;
    border-radius: 12px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-badge {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 900px) {
    .nosotros-container {
        flex-direction: column;
    }

    .nosotros-col-right {
        flex: 1;
        width: 100%;
    }
}

/* --- WooCommerce Global & Page Adjustments --- */
.woocommerce-page #primary {
    padding: 5% 10%;
    background: var(--bg-color);
}

.woocommerce-page .page-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

/* WooCommerce Forms (Inputs, Selects, Textareas) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--white);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--primary);
}

.woocommerce form .form-row label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* WooCommerce Buttons */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    padding: 1rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border: none !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 14px rgba(255, 0, 92, 0.3) !important;
    cursor: pointer !important;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* Login and Register Forms */
.woocommerce .u-columns.col2-set {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.woocommerce .u-column1,
.woocommerce .u-column2 {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.woocommerce .u-column1 h2,
.woocommerce .u-column2 h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Store Navigation & Sorting */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #555;
}

.woocommerce .woocommerce-ordering select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: var(--white);
}

/* Single Product Page */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2rem;
}

.woocommerce div.product div.images {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.woocommerce div.product div.images img {
    border-radius: 16px;
}

.woocommerce div.product div.summary {
    flex: 1;
    min-width: 300px;
}

.woocommerce div.product .product_title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.woocommerce div.product p.price {
    color: var(--primary) !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* WooCommerce Notices (Errors, Success) */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    background-color: var(--white);
    border-top: 3px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    font-weight: 500;
}

.woocommerce-message::before {
    color: var(--primary);
}

/* Cart & Checkout Tables */
.woocommerce table.shop_table {
    background: var(--white);
    border-radius: 16px;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: #fdfdfd;
    padding: 1.5rem 1rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid #eee;
}

.woocommerce table.shop_table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #eee;
    color: #555;
    vertical-align: middle;
}

.woocommerce table.shop_table .product-name a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- New Detailed Shop Page Customization --- */

.woocommerce-page #primary {
    padding: 0 0 5rem 0;
    background: #FDFBFC;
}

.shop-breadcrumbs {
    padding: 2rem 5% 1rem;
    font-size: 0.85rem;
    color: #666;
}

.shop-header-top {
    padding: 0 5% 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.shop-header-titles .page-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.shop-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.shop-header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.shop-result-count {
    color: #888;
    font-size: 0.95rem;
}

.shop-view-icons {
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.shop-view-icons svg {
    padding: 4px;
    cursor: pointer;
}

.shop-layout-wrapper {
    display: flex;
    gap: 4rem;
    padding: 0 5%;
    margin-top: 1rem;
}

.shop-sidebar-mock {
    flex: 0 0 250px;
}

.widget-mock {
    margin-bottom: 3rem;
}

.widget-title {
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.sabores-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sabores-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
}

.checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #A81BDE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox.checked {
    background: #A81BDE;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.price-slider-mock {
    position: relative;
    padding: 1rem 0;
}

.slider-bar {
    height: 6px;
    background: #E0E0E0;
    border-radius: 3px;
    position: relative;
}

.slider-fill {
    position: absolute;
    left: 20%;
    right: 20%;
    top: 0;
    bottom: 0;
    background: #A81BDE;
    border-radius: 3px;
}

.slider-handle {
    width: 16px;
    height: 16px;
    background: #A81BDE;
    border-radius: 50%;
    position: absolute;
    top: -5px;
}

.slider-handle.h1 {
    left: 20%;
    transform: translateX(-50%);
}

.slider-handle.h2 {
    right: 20%;
    transform: translateX(50%);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 600;
}

.pres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.pres-badge {
    padding: 0.6rem;
    text-align: center;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    cursor: pointer;
}

.pres-badge.active {
    border-color: #A81BDE;
    color: #A81BDE;
    background: rgba(168, 27, 222, 0.05);
}

.sub-banner {
    background: linear-gradient(135deg, #A81BDE, #8C3FE8);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.sub-banner h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.sub-banner p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-sub {
    background: white;
    color: #A81BDE;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.shop-main-content {
    flex: 1;
}

.shop-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #E0E0E0;
    background: white;
    padding: 1rem 1.5rem 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.02);
}

.shop-tabs span {
    padding-bottom: 1rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    font-size: 0.95rem;
}

.shop-tabs span.active {
    color: #A81BDE;
    border-bottom: 2px solid #A81BDE;
}

/* Modifying the global products grid specifically for shop */
.shop-main-content ul.products {
    margin-top: 0 !important;
}

.shop-main-content ul.products li.product {
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.shop-main-content ul.products li.product img {
    margin-bottom: 0 !important;
    border-radius: 16px 16px 0 0;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-stars {
    padding: 1.5rem 1.5rem 0;
    color: #FFB300;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating-count {
    color: #aaa;
    margin-left: 0.5rem;
}

.shop-main-content ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.35rem !important;
    padding: 0 1.5rem;
}

.product-subtitle {
    padding: 0 1.5rem;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.shop-main-content ul.products li.product .price {
    position: static;
    margin: 0;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-main) !important;
    display: flex;
    align-items: center;
}

.shop-main-content ul.products li.product .price .woocommerce-Price-currencySymbol {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
    margin-left: 4px;
}

.shop-main-content ul.products li.product .button.add_to_cart_button {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: auto;
    background: #A81BDE !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 20px !important;
    font-size: 0.85rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(168, 27, 222, 0.3) !important;
}

.product-heart {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.product-heart:hover {
    color: #FF005C;
}