/**
 * WooCommerce Styles - Luxury Modern Design
 * Estilo inspirado en Shopify/Sephora
 */

/* ========================================
   BASIC WOOCOMMERCE RESETS
======================================== */
.woocommerce-page {
    padding: 0;
}



/* ========================================
   TOOLBAR - Ordenamiento y Vista
======================================== */

.woocommerce-notices-wrapper {
    max-width: var(--container-max-width);
    margin: 0 auto var(--space-xl);
    padding: 0 var(--container-padding);
}

.woocommerce-result-count,
.woocommerce-ordering {
    font-size: var(--font-size-sm);
}

.woocommerce-ordering select {
    min-width: 200px;
    height: var(--input-height-sm);
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    font-size: var(--font-size-sm);
}

/* Toolbar superior */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

/* ========================================
   PRODUCTS GRID - Estilo Luxury
======================================== */

.products {
    display: grid;
    grid-template-columns: repeat(var(--product-columns), 1fr);
    gap: var(--product-gap);
    list-style: none;
}

.product {
    position: relative;
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--product-card-radius);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-border);
}

/* Product Image con Hover */
.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: var(--product-image-ratio);
    overflow: hidden;
    background: var(--color-bg-tertiary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Segunda imagen al hover */
.product-image .secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image .secondary-image {
    opacity: 1;
}

/* Badges en Producto */
.product-badges {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

/* Quick Actions */
.product-actions {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: var(--product-card-padding);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: var(--font-size-xs);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    margin-bottom: var(--space-xs);
}

.product-title {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
    line-height: var(--line-height-tight);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--color-secondary);
}

.product-excerpt {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

/* Product Price */
.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-family: var(--font-secondary);
}

.product-price .amount {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    color: var(--color-primary);
}

.product-price del {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
}

.product-price ins {
    text-decoration: none;
    color: var(--color-sale);
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    margin-top: auto;
}

/* ========================================
   SINGLE PRODUCT - Estilo Sephora
======================================== */

.single-product-layout {
    display: grid;
    grid-template-columns: var(--single-product-gallery-width) var(--single-product-info-width);
    gap: var(--single-product-gap);
    max-width: var(--container-max-width);
    margin: var(--space-3xl) auto;
    padding: 0 var(--container-padding);
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: var(--space-xl);
    height: fit-content;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background: var(--color-bg-tertiary);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--color-primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Summary */
.product-summary {
    padding: var(--space-xl) 0;
}

.product-brand {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider);
    margin-bottom: var(--space-xs);
}

.product-title-single {
    font-family: var(--font-secondary);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-normal);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-tight);
}

.product-meta-top {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--space-xl);
}

.product-price-single {
    font-family: var(--font-secondary);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-normal);
    color: var(--color-primary);
}

.product-short-description {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

/* ========================================
   VARIATIONS - Color Swatches Modernos
======================================== */

.variations-form {
    margin-bottom: var(--space-xl);
}

.variation-group {
    margin-bottom: var(--space-xl);
}

.variation-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
}

.variation-label .selected-value {
    color: var(--color-secondary);
    margin-left: var(--space-xs);
}

/* Color Swatches */
.color-swatches {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 1px var(--color-border);
    transition: all var(--transition-fast);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--color-primary);
}

.color-swatch.selected {
    box-shadow: 0 0 0 3px var(--color-primary);
    transform: scale(1.1);
}

.color-swatch.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* Size Buttons */
.size-swatches {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.size-swatch {
    min-width: 60px;
    height: 48px;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.size-swatch:hover {
    border-color: var(--color-primary);
}

.size-swatch.selected {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.size-swatch.out-of-stock {
    opacity: 0.3;
    cursor: not-allowed;
    position: relative;
}

.size-swatch.out-of-stock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-error);
    transform: rotate(-45deg);
}

/* ========================================
   PRODUCT ACTIONS
======================================== */

.product-actions-wrapper {
    display: flex;
    gap: var(--space-md);
    align-items: stretch;
    margin-bottom: var(--space-xl);
}

.quantity-wrapper {
    flex: 0 0 auto;
}

.add-to-cart-wrapper {
    flex: 1;
}

.add-to-cart-single {
    width: 100%;
    height: 56px;
    font-size: var(--font-size-base);
}

.wishlist-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--color-white);
}

.wishlist-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.wishlist-btn.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

/* ========================================
   PRODUCT TABS
======================================== */

.product-tabs {
    margin-top: var(--space-4xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--color-border-light);
}

/* ========================================
   RELATED PRODUCTS
======================================== */

.related-products {
    margin-top: var(--space-4xl);
}

.related-products-title {
    font-family: var(--font-secondary);
    font-size: var(--font-size-2xl);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* ========================================
   SINGLE PRODUCT PAGE - SEPHORA STRUCTURE / ONDAS BRANDING
======================================== */

/* Fix for Theme Wrapper */
.site-main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ondas-product-page {
    font-family: var(--font-primary, 'Inter', sans-serif);
    color: var(--color-text-primary, #2c3e2f);
    padding: 30px 0 80px;
    background: #fff;
    max-width: 100vw;
    overflow-x: hidden;
}

.ondas-product-page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.ondas-breadcrumbs {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ondas-breadcrumbs nav {
    display: inline-block;
    white-space: nowrap;
}

.ondas-breadcrumbs li {
    display: inline;
    list-style: none;
}

.ondas-breadcrumbs::-webkit-scrollbar {
    height: 4px;
}

.ondas-breadcrumbs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.ondas-breadcrumbs a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.ondas-breadcrumbs a:hover {
    color: var(--color-primary, #6c9064);
}

.ondas-breadcrumbs .sep {
    margin: 0 8px;
    color: #ddd;
}

/* Hero Grid */
.ondas-hero-grid {
    display: grid;
    grid-template-columns: 55% 40%;
    /* Ratio 1.3:1 approx */
    gap: 5%;
    margin-bottom: 80px;
    align-items: start;
}

/* Gallery */
.gallery-layout {
    display: flex;
    gap: 20px;
    height: 600px;
    /* Fixed height for sticky vibe */
    position: sticky;
    top: 100px;
}

.gallery-thumbs-col {
    width: 70px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
    /* Space for scrollbar if visible */
}

/* Brand styling for active thumbs */
.gallery-thumb-btn {
    width: 64px;
    height: 64px;
    padding: 2px;
    border: 1px solid transparent;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-btn.active,
.gallery-thumb-btn:hover {
    border-color: var(--color-primary, #6c9064);
    /* Brand Color Border */
}

.gallery-main-display {
    flex: 1;
    background-color: #f9f9f9;
    /* border: 1px solid #f0f0f0; Remove border for cleaner look? Keeping generic */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-main-display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Info Section */
.ondas-info {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.info-header .brand-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--color-primary, #6c9064);
    cursor: pointer;
}

.info-header .product-name {
    font-family: 'Gotham', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    color: #111;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.info-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.info-meta .rating-stars {
    color: var(--color-secondary, #c6885d);
    /* Sand/Gold for stars */
    font-size: 12px;
}

.info-meta .review-count {
    color: #111;
    font-weight: 600;
    text-decoration: underline;
}

.info-price {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

.info-price del {
    color: #999;
    font-size: 16px;
    margin-right: 10px;
    font-weight: 400;
}

/* Add to Cart Area */
.ondas-cart-form {
    margin-bottom: 40px;
}

.cart-actions-row {
    display: flex;
    gap: 15px;
    height: 50px;
}

.qty-wrapper {
    position: relative;
    width: 100px;
    height: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    background: #fff;
}

.qty-wrapper input.qty {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    background: transparent;
    font-weight: 600;
    font-size: 16px;
}

/* ==============================================================================
   MODERN VARIABLE PRODUCT VARIATIONS STYLING
   ============================================================================== */

/* Variations Form Container */
.variations_form {
    margin-bottom: 24px;
}

/* Variations Table */
.variations {
    width: 100%;
    border: none;
    margin-bottom: 20px;
}

.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.variations td,
.variations th {
    border: none;
    padding: 0;
    text-align: left;
}

.variations .label {
    margin-bottom: 8px;
}

.variations .label label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #111;
}

/* Variation Dropdowns */
.variations select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.variations select:hover {
    border-color: #999;
}

.variations select:focus {
    outline: none;
    border-color: var(--color-primary, #6c9064);
    box-shadow: 0 0 0 3px rgba(108, 144, 100, 0.1);
}

/* Color/Image Swatches (if using variation swatches plugin) */
.variations .value .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variations .value .variable-item {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.variations .value .variable-item.radio-variable-item {
    width: 50px;
    height: 50px;
    border: 2px solid #ddd;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.2s;
}

.variations .value .variable-item.radio-variable-item:hover {
    border-color: #111;
    transform: scale(1.05);
}

.variations .value .variable-item.radio-variable-item.selected {
    border-color: var(--color-primary, #6c9064);
    box-shadow: 0 0 0 2px rgba(108, 144, 100, 0.2);
}

.variations .value .variable-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Single Variation Wrapper */
.single_variation_wrap {
    margin-top: 20px;
}

.single_variation {
    padding: 0;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 16px;
}

.single_variation .woocommerce-variation-price {
    margin-bottom: 12px;
}

.single_variation .price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.single_variation .price del {
    font-size: 18px;
    color: #999;
    margin-right: 8px;
}

.single_variation .price ins {
    text-decoration: none;
    color: var(--color-primary, #6c9064);
}

.single_variation .woocommerce-variation-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 12px;
}

.single_variation .woocommerce-variation-availability {
    font-size: 13px;
    margin-bottom: 12px;
}

.single_variation .stock {
    color: var(--color-primary, #6c9064);
    font-weight: 600;
}

.single_variation .out-of-stock {
    color: #d0021b;
    font-weight: 600;
}

/* Variation Add to Cart Button */
.single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    gap: 12px;
    align-items: center;
}

.single_variation_wrap .quantity {
    flex-shrink: 0;
}

.single_variation_wrap .quantity .qty-wrapper {
    width: 100px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    background: #fff;
}

.single_variation_wrap .quantity input.qty {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    background: transparent;
    font-weight: 600;
    font-size: 16px;
}

.single_variation_wrap button.single_add_to_cart_button {
    flex: 1;
    padding: 14px 32px;
    background: var(--color-primary, #6c9064) !important;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.single_variation_wrap button.single_add_to_cart_button:hover {
    background: var(--color-primary-dark, #5a7a53);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 144, 100, 0.3);
}

.single_variation_wrap button.single_add_to_cart_button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Reset Link */
.reset_variations {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.reset_variations:hover {
    color: var(--color-primary, #6c9064);
}

/* Variations Notice Wrapper */
.variations-notice {
    width: 100%;
}

.variations-notice .variations_form {
    width: 100%;
}

/* Brand Button */
.ondas-add-btn {
    flex: 1;
    height: 100%;
    background-color: var(--color-primary, #6c9064);
    /* ONDAS GREEN */
    color: #fff;
    border: none;
    border-radius: 9999px;
    /* Pill Shape */
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.ondas-add-btn:hover {
    background-color: var(--color-primary-dark, #5a7a53);
    transform: translateY(-1px);
}

/* Delivery Mockup */
.delivery-mockup {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 24px;
}

.delivery-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.delivery-row:hover {
    background: #fdfdfd;
    border-color: #ddd;
}

.delivery-row.selected {
    background-color: var(--color-bg-secondary, #fdf9f6);
    /* Cream bg */
    border-color: var(--color-primary, #6c9064);
}

.radio-circle {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: block;
    position: relative;
}

.delivery-row.selected .radio-circle.active {
    border-color: var(--color-primary, #6c9064);
    background: #fff;
}

.delivery-row.selected .radio-circle.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-primary, #6c9064);
    border-radius: 50%;
}

.delivery-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.delivery-text strong {
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}

.delivery-text span {
    color: #666;
}

/* Highlights Grid */
.ondas-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.section-heading-sm {
    font-family: 'Gotham', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #000;
}

.attributes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-short-desc .desc-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.product-short-desc .desc-content p {
    font-size: 14px;
    margin-bottom: 12px;
}

.attr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.attr-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-border-light, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.attr-circle.bg-natural {
    background-color: var(--color-accent-light, #dae3d8);
    /* Minty/Sage background */
    color: var(--color-primary, #6c9064);
}

.attr-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Accordions */
.accordion-group {
    border-top: 1px solid #e5e7eb;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-btn {
    width: 100%;
    padding: 20px 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    color: #111;
}

.accordion-btn:hover {
    color: var(--color-primary, #6c9064);
}

.acc-icon {
    font-size: 18px;
    font-weight: 400;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-group.active .accordion-body {
    max-height: 600px;
}

.accordion-body .inner {
    padding-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

/* Suggestions / Similar */
.ondas-similar-section {
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.section-title {
    font-family: 'Gotham', sans-serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: left;
    text-transform: uppercase;
}

/* Carousel Product Cards (Sephora Style) */
.ondas-carousel-product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ondas-carousel-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ondas-carousel-product-card .card-img-link {
    display: block;
    overflow: hidden;
    background: #f9f9f9;
}

.ondas-carousel-product-card .card-img-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ondas-carousel-product-card:hover .card-img-link img {
    transform: scale(1.05);
}

.ondas-carousel-product-card .card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ondas-carousel-product-card .card-brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 8px;
}

.ondas-carousel-product-card .card-title {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 16px;
    min-height: 36px;
    font-family: 'Gotham', sans-serif;
}

.ondas-carousel-product-card .card-title a {
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.ondas-carousel-product-card .card-title a:hover {
    color: var(--color-primary, #6c9064);
}

/* Card Sections */
.ondas-carousel-product-card .card-section {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.ondas-carousel-product-card .card-section:last-of-type {
    border-bottom: none;
}

.ondas-carousel-product-card .section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin-bottom: 6px;
}

.ondas-carousel-product-card .card-price {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.ondas-carousel-product-card .card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ondas-carousel-product-card .card-rating .star-rating {
    font-size: 12px;
}

.ondas-carousel-product-card .card-rating .review-count {
    font-size: 12px;
    color: #666;
}

.ondas-carousel-product-card .card-highlights {
    font-size: 12px;
    line-height: 1.4;
    color: #555;
}

.ondas-carousel-product-card .card-see-details {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 2px solid #111;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
}

.ondas-carousel-product-card .card-see-details:hover {
    background: #111;
    color: #fff;
}

/* Swiper Navigation Customization */
.ondas-products-carousel .swiper-button-prev,
.ondas-products-carousel .swiper-button-next {
    color: var(--color-primary, #6c9064);
    width: 40px;
    height: 40px;
}

.ondas-products-carousel .swiper-button-prev:after,
.ondas-products-carousel .swiper-button-next:after {
    font-size: 20px;
}

.ondas-products-carousel .swiper-pagination {
    bottom: -30px !important;
}

.ondas-products-carousel .swiper-pagination-bullet {
    background: var(--color-primary, #6c9064);
}

/* Quick Look Modal (Sephora Style) */
.ondas-quicklook-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ondas-quicklook-modal.active {
    display: flex;
}

.ondas-quicklook-content {
    background: #fff;
    border-radius: 0;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
}

.ondas-quicklook-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.ondas-quicklook-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ondas-quicklook-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
    color: #111;
    z-index: 10;
    line-height: 1;
}

.ondas-quicklook-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

/* Gallery Section */
.ondas-quicklook-gallery {
    display: flex;
    gap: 12px;
    padding: 40px 20px;
    background: #f9f9f9;
}

.quicklook-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quicklook-thumbs .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.quicklook-thumbs .thumb.active {
    border-color: #111;
}

.quicklook-main-image {
    flex: 1;
}

.quicklook-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Info Section */
.ondas-quicklook-info {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.ondas-quicklook-info .ql-brand {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.ondas-quicklook-info .ql-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.ondas-quicklook-info .ql-item {
    font-size: 11px;
    color: #666;
    margin-bottom: 16px;
}

.ondas-quicklook-info .ql-description {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 12px;
}

.ondas-quicklook-info .ql-see-details {
    font-size: 13px;
    color: #0066cc;
    text-decoration: none;
    margin-bottom: 16px;
    display: inline-block;
}

.ondas-quicklook-info .ql-see-details:hover {
    text-decoration: underline;
}

.ondas-quicklook-info .ql-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 16px 0;
}

.ondas-quicklook-info .ql-rating-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ondas-quicklook-info .ql-rating .star-rating {
    font-size: 14px;
}

.ondas-quicklook-info .ql-loves {
    font-size: 13px;
    color: #666;
}

.ondas-quicklook-info .ql-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Actions */
.ondas-quicklook-info .ql-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ondas-quicklook-info .ql-qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.ondas-quicklook-info .ql-qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.ondas-quicklook-info .ql-qty-btn:hover {
    background: #f5f5f5;
}

.ondas-quicklook-info .ql-qty-input {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
    -moz-appearance: textfield;
}

.ondas-quicklook-info .ql-qty-input::-webkit-inner-spin-button,
.ondas-quicklook-info .ql-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ondas-quicklook-info .ql-add-to-basket {
    flex: 1;
    padding: 12px 24px;
    background: #d0021b;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s;
}

.ondas-quicklook-info .ql-add-to-basket:hover {
    background: #b00118;
}

.ondas-quicklook-info .ql-add-to-lists {
    width: 100%;
    padding: 12px 24px;
    background: #fff;
    color: #111;
    border: 2px solid #111;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ondas-quicklook-info .ql-add-to-lists:hover {
    background: #111;
    color: #fff;
}

.ondas-quicklook-info .ql-add-to-lists svg {
    width: 18px;
    height: 18px;
}

/* Responsive Quick Look */
@media (max-width: 768px) {
    .ondas-quicklook-layout {
        grid-template-columns: 1fr;
    }

    .ondas-quicklook-gallery {
        flex-direction: column-reverse;
    }

    .quicklook-thumbs {
        flex-direction: row;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .ondas-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery-layout {
        position: relative;
        top: 0;
        flex-direction: column-reverse;
        height: auto;
    }

    .gallery-thumbs-col {
        flex-direction: row;
        width: 100%;
        height: 80px;
        padding: 0;
        overflow-x: auto;
    }

    .ondas-highlights-grid {
        grid-template-columns: 1fr;
    }
}



/* Meta Row (Stars | SKU) */
.product-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.rating-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-rating {
    font-size: 12px;
    color: #000;
    /* User visual has black stars */
}

.review-count-link {
    text-decoration: underline;
    color: #6b7280;
}

.divider {
    color: #e5e7eb;
}

/* Price */
.product-price-large {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 8px 0 16px;
}

.product-price-large del {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 400;
    margin-right: 8px;
}

/* Add to Cart Area (Overrides standard WC) */
.product-purchase-area {
    margin: 24px 0;
}

.product-purchase-area .cart {
    display: flex;
    gap: 12px;
}

.product-purchase-area .quantity {
    width: 80px;
    border: 1px solid #d1d5db;
    /* Gray-300 */
    border-radius: 4px;
    flex-shrink: 0;
}

.product-purchase-area .quantity input {
    border: none;
    font-weight: 600;
}

.product-purchase-area .single_add_to_cart_button {
    flex: 1;
    background: var(--color-primary);
    /* Brand Green/Gold or user requested Red #E31E26 style? */
    /* User said "update to my brand". Assuming Brand Color. */
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px;
    border-radius: 9999px;
    /* Rounded full */
    transition: background 0.2s;
}

.product-purchase-area .single_add_to_cart_button:hover {
    opacity: 0.9;
}

/* Dynamic Variations (Matches standard WC classes but styled) */
.variations td {
    display: block;
    padding: 0;
}

.variations label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

/* Use standard Swatch plugin styles if present, or fallback */

/* Delivery Options Cards */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.delivery-option:hover {
    background-color: #f9fafb;
}

.delivery-option.selected {
    border-color: #000;
    background-color: #f9fafb;
}

.radio-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
}

.delivery-option.selected .radio-indicator {
    border: 4px solid #000;
}

.option-text {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

.option-subtitle {
    font-size: 11px;
    color: #6b7280;
}

/* ========================================
   HIGHLIGHTS & DETAILS GRID
======================================== */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding: 48px 0;
    border-top: 1px solid #e5e7eb;
}

/* Highlights Column */
.details-heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: #000;
}

.attributes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.attribute-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.attr-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #f3f4f6;
    /* Default gray */
}

/* Color variations for icons */
.attr-icon.bg-pink {
    background: #FDF2F8;
    color: #DB2777;
}

.attr-icon.bg-blue {
    background: #E6F4F1;
    color: #0CA5B0;
}

.attribute-item span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Description Text */
.product-description-text {
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    /* Gray-700 */
    margin-bottom: 32px;
}

/* Accordions */
.accordion-group {
    border-top: 1px solid #e5e7eb;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
    transition: color 0.2s;
}

.accordion-header:hover {
    color: var(--color-primary);
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    /* or 180 depending on icon */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content .inner-content {
    padding-bottom: 16px;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

/* Suggestions / Similar */
.suggestions-section {
    padding: 48px 0;
    border-top: 1px solid #e5e7eb;
}

.section-title-large {
    font-size: 20px;
    /* text-xl */
    font-weight: 700;
    margin-bottom: 32px;
    color: #000;
}

.suggestions-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery-container {
        flex-direction: column-reverse;
        height: auto;
    }

    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        height: 70px;
        overflow-x: auto;
    }

    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/* ========================================
   SHOP BANNERS - Full Width Injection
======================================== */

.ondas-shop-banner-container {
    grid-column: 1 / -1;
    width: 100%;
    margin: var(--space-2xl) 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-bg-tertiary);
}

.ondas-shop-banner-container.full-width {
    /* Ensures it breaks out of any grid constraints if used inside grid items (not the case now, but safe) */
    width: 100%;
}

.shop-banner-wrapper {
    width: 100%;
    position: relative;
}

.shop-banner-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Optional: Max height to prevent massive vertical shift on large screens */
    max-height: 400px;
}

/* ========================================
   RECOVERED PHASE 4 - CUSTOM GRID
======================================== */

.ondas-product-grid {
    display: grid !important;
    /* Force Grid */
    grid-template-columns: repeat(var(--product-columns, 3), 1fr);
    gap: var(--product-gap, 30px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.ondas-product-grid::before,
.ondas-product-grid::after {
    display: none !important;
    /* Remove float clears */
}

/* Product Card Wrapper (LI) */
.product-card-wrapper {
    list-style: none;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* Banner Injection Styling */
.ondas-shop-banner-container {
    width: 100%;
    margin: 40px 0;
    grid-column: 1 / -1;
    /* Safety if inside grid, though we break the UL so this is just fallback */
}

/* ========================================
   LOGIN/REGISTER PAGE - Premium Design Override
======================================== */

/* When showing the custom login form, hide default page styles */
body.woocommerce-account:not(.logged-in) .woocommerce-page,
body.woocommerce-account:not(.logged-in) .site-main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Hide default entry header on login page */
body.woocommerce-account:not(.logged-in) .entry-header,
body.woocommerce-account:not(.logged-in) .page-header,
body.woocommerce-account:not(.logged-in) .woocommerce > h2,
body.woocommerce-account:not(.logged-in) .woocommerce-form-login h2,
body.woocommerce-account:not(.logged-in) .woocommerce-form-register h2 {
    display: none !important;
}

/* Ensure the auth page takes full height */
body.woocommerce-account:not(.logged-in) .ondas-auth-page {
    min-height: calc(100vh - 80px);
}

/* Override any container padding */
body.woocommerce-account:not(.logged-in) .entry-content,
body.woocommerce-account:not(.logged-in) article.page {
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide old woocommerce columns */
body.woocommerce-account:not(.logged-in) .u-columns,
body.woocommerce-account:not(.logged-in) .u-column1,
body.woocommerce-account:not(.logged-in) .u-column2 {
    display: none !important;
}

/* ========================================
   WOOCOMMERCE BUTTONS OVERRIDE
======================================== */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    font-size: 70%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 3px;
    left: auto;
    color: #515151;
    background-color: #e9e6ed;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

/* ========================================
   WOOCOMMERCE MESSAGES OVERRIDE
======================================== */
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    font-family: WooCommerce;
    content: "\e028";
    display: inline-block;
    position: absolute;
    top: 1em;
    left: 0.3em;
}