/* ========================================
   TOMILLO TEMPLATE - QR-PAYA Design System
   Basado en especificaciones exactas de Figma
   ======================================== */

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

/* Design Tokens - Colores */
:root {
    --tomillo-primary: #3E4733;        /* Verde principal */
    --tomillo-accent: #015C4D;         /* Verde acento para botones */
    --tomillo-text: #000000;           /* Negro/Texto */
    --tomillo-text-light: #FFFFFF;     /* Blanco para texto sobre fondo oscuro */
    --tomillo-neutral-50: #3E4733;     /* Fondo verde principal */
    --tomillo-neutral-100: #E7E7E7;    /* Gris claro para cards y sidebar */
    --tomillo-neutral-200: #D1D1D1;    /* Gris para bordes */
    --tomillo-neutral-400: #888888;    /* Gris medio para texto inactivo */
    --tomillo-neutral-800: #000000;    /* Negro para texto */
    --tomillo-bg: #3E4733;             /* Fondo verde */

    /* Dimensiones del layout */
    --tomillo-header-height: 150px;
    --tomillo-sidebar-width: 113px;
    --tomillo-sidebar-height: 715.38px;
    --tomillo-category-btn-height: 44.42px;
    --tomillo-content-start: 123.5px;
    --tomillo-content-width: 246.5px;
    --tomillo-content-height: 639.46px;

    /* Dimensiones de componentes - Figma specs */
    --tomillo-card-width: 246.5px;
    --tomillo-card-height: 117.49px;
    --tomillo-card-gap: 13px;
    --tomillo-card-radius: 10px;         /* Figma: 10px */
    --tomillo-btn-size: 23.84px;         /* Figma: 23.84px */
    --tomillo-product-image-size: 97.92px;  /* Figma: 97.92px */
    --tomillo-card-bg: #E7E7E7;          /* Figma: fondo gris #E7E7E7 */

    /* Spacing genérico - Figma specs */
    --tomillo-padding-card: 10px;        /* Figma: 10px */
    --tomillo-gap-card-inner: 10px;      /* Figma: 10px */
    --tomillo-padding-sidebar: 8px;
}

/* Font Family - Poppins */
[data-template="tomillo"],
[data-template="tomillo"] * {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ========================================
   WRAPPER & CONTAINER - Green Theme Background
   ======================================== */
.pidepaya-catalog-wrapper:has([data-template="tomillo"]) {
    background: #3E4733 !important;
}

.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-banner-slider {
    background: #3E4733 !important;
}

[data-template="tomillo"] {
    background: #3E4733 !important;
}

/* ========================================
   HEADER - Fondo verde con logo TOMILLO
   ======================================== */
.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-catalog-header {
    background: var(--tomillo-primary) !important;
    background-image: url("../images/tomillo/header-background.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: var(--tomillo-header-height) !important;
    min-height: var(--tomillo-header-height) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 20px 20px !important;
    position: relative;
}

.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-header-inner {
    padding: 15px !important;
    text-align: center;
}

.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-logo {
    width: 489.28px !important;
    height: 137.56px !important;
    max-height: none !important;
    max-width: 90% !important;
    opacity: 1 !important;
    border-bottom-right-radius: 20.9px !important;
    border-bottom-left-radius: 20.9px !important;
    object-fit: contain !important;
    filter: none !important;
}

.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-site-title {
    display: none !important;
}

/* ========================================
   SIDEBAR - Categorías verticales (Fondo gris claro)
   ======================================== */
.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-categories-sidebar,
[data-template="tomillo"] .pidepaya-categories-sidebar {
    background: var(--tomillo-neutral-100) !important;
    border-right: none !important;
    width: var(--tomillo-sidebar-width) !important;
    min-width: var(--tomillo-sidebar-width) !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 10px 0 0 !important;
    overflow: hidden !important;
}

/* Category Buttons - Altura 44.42px */
.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-category-tab,
[data-template="tomillo"] .pidepaya-category-tab {
    background: #E7E7E7 !important;
    color: #888888 !important;
    border: none !important;
    border-left: 4px solid transparent !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    font-family: Poppins !important;
    line-height: 110% !important;
    letter-spacing: 0 !important;
    padding: var(--tomillo-padding-sidebar) !important;
    height: var(--tomillo-category-btn-height) !important;
    transition: all 0.25s ease !important;
    text-transform: none !important;
    text-align: center !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Primera tab - esquina superior derecha redondeada */
.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-category-tab:first-child,
[data-template="tomillo"] .pidepaya-category-tab:first-child {
    border-radius: 0 10px 0 0 !important;
}

/* Última tab - esquina inferior derecha redondeada */
.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-category-tab:last-child,
[data-template="tomillo"] .pidepaya-category-tab:last-child {
    border-radius: 0 0 10px 0 !important;
}

.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-category-tab:hover,
[data-template="tomillo"] .pidepaya-category-tab:hover {
    background: #D1D1D1 !important;
    color: #000000 !important;
    transform: none !important;
}

.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-category-tab.active,
[data-template="tomillo"] .pidepaya-category-tab.active {
    background: #3E4733 !important;
    color: #FFFFFF !important;
    border-left-color: #015C4D !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

/* Primera tab activa - solo esquina superior derecha redondeada */
.pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-category-tab:first-child.active,
[data-template="tomillo"] .pidepaya-category-tab:first-child.active {
    border-radius: 0 10px 0 0 !important;
}

/* ========================================
   PRODUCTS AREA - Área de contenido principal
   ======================================== */
[data-template="tomillo"] .pidepaya-products-area {
    background: #3E4733 !important;
    padding: 20px 15px;
}

/* Category Title */
[data-template="tomillo"] .pidepaya-category-title h2 {
    color: #FFFFFF !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 0 15px 0;
}

[data-template="tomillo"] .pidepaya-category-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
}

[data-template="tomillo"] .pidepaya-category-description {
    color: var(--tomillo-neutral-400);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

/* Loading Indicator */
[data-template="tomillo"] .pidepaya-loading {
    background: rgba(62, 71, 51, 0.05);
    border: 1px solid var(--tomillo-primary);
    color: var(--tomillo-primary);
}

[data-template="tomillo"] .pidepaya-spinner {
    border-color: var(--tomillo-neutral-200);
    border-top-color: var(--tomillo-primary);
}

/* ========================================
   PRODUCT CARD - 246.5px × 117.49px
   Layout horizontal: imagen | info | precio+botón
   ======================================== */

.pidepaya-product-card.tomillo-template {
    background: var(--tomillo-card-bg) !important;
    border: none !important;
    border-radius: var(--tomillo-card-radius) !important;
    padding: var(--tomillo-padding-card) !important;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: none !important;
    min-height: var(--tomillo-card-height);
}

.pidepaya-product-card.tomillo-template:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.pidepaya-product-card.tomillo-template .tomillo-card-inner {
    display: flex !important;
    align-items: center !important;
    gap: var(--tomillo-gap-card-inner) !important;
    height: 100% !important;
    flex-direction: row !important;
}

/* Imagen del producto */
.pidepaya-product-card.tomillo-template .tomillo-image-container {
    position: relative !important;
    flex-shrink: 0 !important;
    width: var(--tomillo-product-image-size) !important;
    height: var(--tomillo-product-image-size) !important;
    background: #D9D9D9 !important;
    border-radius: var(--tomillo-card-radius) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.pidepaya-product-card.tomillo-template .tomillo-image-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.pidepaya-product-card.tomillo-template .tomillo-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease !important;
}

.pidepaya-product-card.tomillo-template:hover .tomillo-image {
    transform: scale(1.08) !important;
}

/* Sale Badge */
.tomillo-sale-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #e74c3c;
    color: #FFFFFF;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Contenido del producto */
.pidepaya-product-card.tomillo-template .tomillo-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    min-height: var(--tomillo-product-image-size) !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

/* Nombre del producto - Negro sobre fondo gris */
.pidepaya-product-card.tomillo-template .tomillo-title {
    margin: 0 !important;
    font-family: Poppins !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 120% !important;
    letter-spacing: 0 !important;
    color: #000000 !important;
}

.pidepaya-product-card.tomillo-template .tomillo-title a {
    color: #000000 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.pidepaya-product-card.tomillo-template .tomillo-title a:hover {
    color: var(--tomillo-accent) !important;
}

/* Descripción breve */
.pidepaya-product-card.tomillo-template .tomillo-description {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: var(--tomillo-neutral-400) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Precio y botón de acción */
.pidepaya-product-card.tomillo-template .tomillo-footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 41px !important;
    flex-shrink: 0 !important;
}

/* Precio - Verde */
.pidepaya-product-card.tomillo-template .tomillo-price {
    font-family: Poppins !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 110% !important;
    letter-spacing: 0 !important;
    color: #3E4733 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline-block !important;
    opacity: 1 !important;
}

.pidepaya-product-card.tomillo-template .tomillo-old-price {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--tomillo-neutral-400) !important;
    text-decoration: line-through !important;
    line-height: 1.1 !important;
}

/* Botón circular de información - Verde */
.pidepaya-product-card.tomillo-template .tomillo-action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--tomillo-btn-size) !important;
    height: var(--tomillo-btn-size) !important;
    background: var(--tomillo-accent) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.pidepaya-product-card.tomillo-template .tomillo-action-btn:hover {
    background: #013D33 !important;
    transform: scale(1.08) !important;
    box-shadow: 0 4px 12px rgba(1, 92, 77, 0.35) !important;
}

.pidepaya-product-card.tomillo-template .tomillo-action-btn:active {
    transform: scale(0.98) !important;
}

.pidepaya-product-card.tomillo-template .tomillo-action-btn svg {
    width: 18px !important;
    height: 18px !important;
}

/* ========================================
   GRID LAYOUT
   ======================================== */
[data-template="tomillo"] .pidepaya-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--tomillo-card-gap);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile (< 768px) */
@media (max-width: 767px) {
    [data-template="tomillo"] .pidepaya-site-title {
        display: none !important;
    }

    .pidepaya-catalog-wrapper:has([data-template="tomillo"]) .pidepaya-logo {
        width: 351.26px !important;
        height: 98.72px !important;
        max-height: none !important;
        max-width: 90% !important;
        border-bottom-right-radius: 20.9px !important;
        border-bottom-left-radius: 20.9px !important;
    }

    [data-template="tomillo"] .pidepaya-categories-sidebar {
        width: 90px;
        min-width: 90px;
    }

    [data-template="tomillo"] .pidepaya-category-tab {
        font-size: 12px;
        padding: 6px;
        height: 40px;
    }

    [data-template="tomillo"] .pidepaya-products-area {
        padding: 15px 10px;
    }

    /* Layout HORIZONTAL en mobile */
    .pidepaya-product-card.tomillo-template .tomillo-card-inner {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .pidepaya-product-card.tomillo-template .tomillo-image-container {
        width: 98px !important;
        height: 98px !important;
        flex-shrink: 0 !important;
    }

    .pidepaya-product-card.tomillo-template .tomillo-content {
        min-height: auto !important;
        gap: 20px !important;
    }

    .pidepaya-product-card.tomillo-template .tomillo-footer {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .pidepaya-product-card.tomillo-template .tomillo-title {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    .pidepaya-product-card.tomillo-template .tomillo-price {
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .pidepaya-product-card.tomillo-template .tomillo-action-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 14px !important;
    }
}

/* Tablet y Desktop (>= 768px) */
@media (min-width: 768px) {
    [data-template="tomillo"] {
        --tomillo-product-image-size: 130px;
    }

    [data-template="tomillo"] .pidepaya-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .pidepaya-product-card.tomillo-template .tomillo-card-inner {
        flex-direction: row !important;
    }
}

/* Desktop Grande (>= 1024px) */
@media (min-width: 1024px) {
    [data-template="tomillo"] {
        --tomillo-product-image-size: 150px;
    }

    [data-template="tomillo"] .pidepaya-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

/* ========================================
   TOMILLO SINGLE PRODUCT PAGE
   ======================================== */

/* Wrapper general */
.tomillo-single-wrapper {
    width: 100%;
    background: #3E4733;
}

/* Header */
.tomillo-single-header {
    position: relative;
    width: 100%;
    background: var(--tomillo-primary) !important;
    background-image: url("../images/tomillo/header-background.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: var(--tomillo-header-height) !important;
    min-height: var(--tomillo-header-height) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 20px 20px !important;
    z-index: 1000;
}

.tomillo-header-inner {
    padding: 15px !important;
    text-align: center;
    width: 100%;
}

.tomillo-single-logo {
    width: 489.28px !important;
    height: 137.56px !important;
    max-height: none !important;
    max-width: 90% !important;
    opacity: 1 !important;
    border-bottom-right-radius: 20.9px !important;
    border-bottom-left-radius: 20.9px !important;
    object-fit: contain !important;
    filter: none !important;
}

/* Contenedor de producto */
.tomillo-single-product {
    position: relative;
    width: 100%;
    max-width: 390px;
    min-height: 920px;
    margin: 0 auto;
    background: #3E4733;
    padding: 0 20px 40px 20px;
    box-sizing: border-box;
}

/* Botón de volver - Verde */
.tomillo-back-button {
    position: absolute;
    width: 33.51px;
    height: 33.51px;
    left: 30px;
    top: 10px;
    background: #015C4D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tomillo-back-button:hover {
    background: #013D33;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(1, 92, 77, 0.35);
}

.tomillo-back-button svg {
    width: 21px;
    height: 21px;
}

/* Galería de imágenes del producto */
.tomillo-product-gallery {
    width: calc(100% - 40px);
    max-width: 350px;
    margin: 18.36px auto 18.36px auto;
}

/* Imagen principal del producto */
.tomillo-product-image-main {
    position: relative;
    width: 100%;
    height: 306.01px;
    background: #D9D9D9;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7.42px;
}

.tomillo-product-image-main .tomillo-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.tomillo-no-image {
    width: 100%;
    height: 100%;
    background: #D9D9D9;
}

/* Miniaturas */
.tomillo-product-thumbnails {
    display: flex;
    gap: 11.64px;
    width: 100%;
}

.tomillo-thumbnail {
    position: relative;
    width: 108.91px;
    height: 101.93px;
    background: #D9D9D9;
    border-radius: 2.925px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.tomillo-thumbnail:hover {
    border-color: var(--tomillo-accent);
    transform: scale(1.05);
}

.tomillo-thumbnail.active {
    border-color: var(--tomillo-accent);
    box-shadow: 0 0 0 1px var(--tomillo-accent);
}

.tomillo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tomillo-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: #D9D9D9;
}

/* Imagen del producto (compatibilidad) */
.tomillo-product-image {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 348.45px;
    margin-top: 18.14px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
    background: #E7E7E7;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tomillo-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Título del producto - Blanco */
.tomillo-product-title {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 18px auto;
    font-family: "Poppins", sans-serif !important;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 110% !important;
    color: #FFFFFF !important;
    padding: 0;
}

/* Descripción del producto - Gris claro */
.tomillo-product-description {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px auto;
    font-family: "Poppins", sans-serif !important;
    font-style: normal;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 130% !important;
    color: #CCCCCC !important;
    padding: 0;
}

.tomillo-product-description p {
    margin: 0;
    padding: 0;
}

/* Precio del producto - Blanco (sobre fondo verde) */
.tomillo-product-price {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    font-family: "Poppins", sans-serif !important;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 32px !important;
    line-height: 110% !important;
    color: #FFFFFF !important;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .tomillo-single-product {
        max-width: 100%;
    }

    .tomillo-single-logo {
        width: 351.26px !important;
        height: 98.72px !important;
        max-height: none !important;
        max-width: 90% !important;
    }

    .tomillo-product-gallery,
    .tomillo-product-title,
    .tomillo-product-description {
        width: calc(100% - 40px);
    }
}

@media (min-width: 768px) {
    .tomillo-single-product {
        max-width: 1200px !important;
        min-height: auto !important;
        padding: 30px 40px 40px 40px !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 40px !important;
        box-sizing: border-box !important;
    }

    .tomillo-single-logo {
        width: 489.28px !important;
        height: 137.56px !important;
        max-height: none !important;
        max-width: 90% !important;
    }

    /* Galería ocupa la columna izquierda completa */
    .tomillo-product-gallery {
        position: relative;
        grid-column: 1;
        grid-row: 1 / 4;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .tomillo-product-image-main {
        height: calc(90vh - 300px);
        max-height: 600px;
        margin-bottom: 15px;
    }

    .tomillo-product-image-main .tomillo-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .tomillo-product-thumbnails {
        gap: 15px;
    }

    .tomillo-thumbnail {
        width: calc((100% - 30px) / 3);
        height: 120px;
    }

    /* Mantener compatibilidad con imagen única antigua */
    .tomillo-product-image {
        position: relative;
        grid-column: 1;
        grid-row: 1 / 4;
        width: 100%;
        height: calc(90vh - 200px);
        max-height: 800px;
        margin: 0;
        padding: 0;
    }

    .tomillo-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Contenido en la columna derecha */
    .tomillo-product-title {
        position: relative;
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        max-width: none;
        font-size: 42px;
        margin: 0 0 20px 0;
        padding: 0;
    }

    .tomillo-product-description {
        position: relative;
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        width: 100%;
        max-width: none;
        font-size: 18px;
        line-height: 1.6;
        margin: 0 0 30px 0;
        padding: 0;
    }

    .tomillo-product-price {
        position: relative;
        grid-column: 2;
        grid-row: 3;
        align-self: start;
        width: 100%;
        max-width: none;
        font-size: 48px;
        margin: 0;
        padding: 20px 0 0 0;
    }

    .tomillo-back-button {
        left: 60px;
        top: 10px;
    }
}

/* Body styles for Tomillo single product page */
body.tomillo-single-body {
    margin: 0;
    padding: 0;
    background: #3E4733;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

body.tomillo-single-body #wpadminbar {
    display: none !important;
}

body.tomillo-single-body.admin-bar .tomillo-single-product {
    margin-top: 0 !important;
}

/* ========================================
   TOMILLO DESKTOP 3-COLUMN GRID
   ======================================== */

@media (min-width: 1024px) {
    [data-template="tomillo"] .pidepaya-products-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}
