/**
 * Custom Elementor Widgets Styles
 */

/* ==========================================
   CSS DESIGN SYSTEM - Custom Properties
   ========================================== */

:root {
  /* ===== COLORS ===== */

  /* Primary Brand Colors */
  --vv-color-primary: #0073aa;
  --vv-color-primary-hover: #005177;
  --vv-color-primary-active: #004d73;
  --vv-color-primary-light: rgba(0, 115, 170, 0.1);
  --vv-color-primary-transparent: rgba(0, 115, 170, 0.3);

  /* Semantic Colors */
  --vv-color-success: #46a049;
  --vv-color-success-hover: #45a049;
  --vv-color-success-light: rgba(70, 160, 73, 0.1);

  --vv-color-danger: #dc3232;
  --vv-color-danger-hover: #a00;
  --vv-color-danger-light: rgba(220, 50, 50, 0.1);

  --vv-color-warning: #ffc107;
  --vv-color-warning-text: #856404;
  --vv-color-warning-bg: #fff3cd;

  --vv-color-info: #2271b1;
  --vv-color-info-hover: #135e96;
  --vv-color-info-light: rgba(34, 113, 177, 0.1);

  /* Neutral Colors */
  --vv-color-text-primary: #333;
  --vv-color-text-secondary: #555;
  --vv-color-text-muted: #666;
  --vv-color-text-light: #999;
  --vv-color-text-white: #fff;

  --vv-color-bg-primary: #fff;
  --vv-color-bg-secondary: #f9f9f9;
  --vv-color-bg-light: #f5f5f5;
  --vv-color-bg-dark: #000;

  --vv-color-border: #e0e0e0;
  --vv-color-border-light: #ddd;
  --vv-color-border-lighter: #eee;
  --vv-color-border-dark: #ccc;

  /* Extended Semantic Colors */
  --vv-color-success-dark: #155724;
  --vv-color-success-bg: #d4edda;
  --vv-color-success-border: #c3e6cb;
  --vv-color-info-bg: #e3f2fd;

  /* ===== SPACING SCALE ===== */
  --vv-space-xs: 5px;
  --vv-space-sm: 10px;
  --vv-space-md: 15px;
  --vv-space-lg: 20px;
  --vv-space-xl: 25px;
  --vv-space-2xl: 30px;
  --vv-space-3xl: 40px;

  /* ===== TYPOGRAPHY ===== */

  /* Font Sizes */
  --vv-font-size-xs: 12px;
  --vv-font-size-sm: 14px;
  --vv-font-size-base: 16px;
  --vv-font-size-md: 18px;
  --vv-font-size-lg: 20px;
  --vv-font-size-xl: 24px;
  --vv-font-size-2xl: 28px;

  /* Font Weights */
  --vv-font-weight-normal: 400;
  --vv-font-weight-semibold: 600;
  --vv-font-weight-bold: 700;

  /* Line Heights */
  --vv-line-height-tight: 1.2;
  --vv-line-height-normal: 1.5;
  --vv-line-height-relaxed: 1.6;

  /* ===== BORDERS ===== */
  --vv-radius-sm: 4px;
  --vv-radius-md: 5px;
  --vv-radius-lg: 8px;
  --vv-radius-xl: 10px;
  --vv-radius-full: 50%;

  --vv-border-width: 1px;
  --vv-border-width-thick: 2px;

  /* ===== SHADOWS ===== */
  --vv-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --vv-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --vv-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --vv-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --vv-shadow-focus: 0 0 0 3px var(--vv-color-primary-transparent);

  /* ===== TRANSITIONS ===== */
  --vv-transition-fast: 0.2s ease;
  --vv-transition-base: 0.3s ease;
  --vv-transition-slow: 0.5s ease;

  /* ===== Z-INDEX SCALE ===== */
  --vv-z-dropdown: 1000;
  --vv-z-modal: 9999;
  --vv-z-tooltip: 10000;
}

/* ==========================================
   BUTTON COMPONENT SYSTEM
   ========================================== */

/* Base Button — matches Astra theme button style */
.vv-btn {
  display: inline-block;
  padding: 17px 40px;
  font-size: 14px;
  font-weight: 700;
  line-height: var(--vv-line-height-tight);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--vv-transition-fast);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  user-select: none;
}

/* Primary Button — uses Astra theme color with fallback */
.vv-btn-primary {
  background-color: var(--ast-global-color-0, var(--vv-color-primary));
  color: var(--vv-color-text-white);
}

.vv-btn-primary:hover {
  background-color: var(--ast-global-color-1, var(--vv-color-primary-hover));
  transform: translateY(-2px);
  box-shadow: var(--vv-shadow-lg);
}

.vv-btn-primary:active {
  background-color: var(--vv-color-primary-active);
  transform: translateY(0);
  box-shadow: var(--vv-shadow-md);
}

.vv-btn-primary:focus {
  outline: none;
  box-shadow: var(--vv-shadow-focus);
}

/* Success Button (Green) */
.vv-btn-success {
  background-color: var(--vv-color-success);
  color: var(--vv-color-text-white);
}

.vv-btn-success:hover {
  background-color: var(--vv-color-success-hover);
  transform: translateY(-2px);
  box-shadow: var(--vv-shadow-lg);
}

.vv-btn-success:active {
  transform: translateY(0);
  box-shadow: var(--vv-shadow-md);
}

.vv-btn-success:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(70, 160, 73, 0.3);
}

/* Danger Button (Red) */
.vv-btn-danger {
  background-color: var(--vv-color-danger);
  color: var(--vv-color-text-white);
}

.vv-btn-danger:hover {
  background-color: var(--vv-color-danger-hover);
  transform: translateY(-2px);
  box-shadow: var(--vv-shadow-lg);
}

.vv-btn-danger:active {
  transform: translateY(0);
  box-shadow: var(--vv-shadow-md);
}

.vv-btn-danger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 50, 50, 0.3);
}

/* Info Button (Info Blue) */
.vv-btn-info {
  background-color: var(--vv-color-info);
  color: var(--vv-color-text-white);
}

.vv-btn-info:hover {
  background-color: var(--vv-color-info-hover);
  transform: translateY(-2px);
  box-shadow: var(--vv-shadow-lg);
}

.vv-btn-info:active {
  transform: translateY(0);
  box-shadow: var(--vv-shadow-md);
}

.vv-btn-info:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.3);
}

/* Ghost Button (Outline) */
.vv-btn-ghost {
  background-color: transparent;
  color: var(--vv-color-primary);
  border: var(--vv-border-width-thick) solid var(--vv-color-primary);
}

.vv-btn-ghost:hover {
  background-color: var(--vv-color-primary);
  color: var(--vv-color-text-white);
  transform: translateY(-2px);
  box-shadow: var(--vv-shadow-lg);
}

.vv-btn-ghost:active {
  transform: translateY(0);
  box-shadow: var(--vv-shadow-md);
}

.vv-btn-ghost:focus {
  outline: none;
  box-shadow: var(--vv-shadow-focus);
}

/* Button Sizes */
.vv-btn-sm {
  padding: var(--vv-space-sm) var(--vv-space-lg);
  font-size: var(--vv-font-size-sm);
}

.vv-btn-lg {
  padding: var(--vv-space-lg) calc(var(--vv-space-3xl) + 10px);
  font-size: var(--vv-font-size-lg);
}

.vv-btn-block {
  display: block;
  width: 100%;
}

/* Button States */
.vv-btn:disabled,
.vv-btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.vv-btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.vv-btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border: 2px solid currentColor;
  border-radius: var(--vv-radius-full);
  border-top-color: transparent;
  animation: vv-spin 0.6s linear infinite;
}

@keyframes vv-spin {
  to { transform: rotate(360deg); }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .vv-btn {
    transition: none;
  }

  .vv-btn:hover {
    transform: none;
  }

  .vv-btn.is-loading::after {
    animation: none;
  }
}

/* Example Widget */
.custom-widget-wrapper {
    padding: var(--vv-space-lg);
    background-color: var(--vv-color-bg-secondary);
    border-radius: var(--vv-radius-lg);
}

.custom-widget-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.custom-widget-description {
    margin: 0 0 20px 0;
    line-height: 1.6;
    color: var(--vv-color-text-primary);
}

.custom-widget-link a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--ast-global-color-0, var(--vv-color-primary));
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.custom-widget-link a:hover {
    background-color: var(--vv-color-primary-hover);
}

/* Product QR & Payment Widget */
.product-qr-payment {
    padding: 30px;
    text-align: center;
}

.payment-heading {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
}

.payment-description {
    margin: 0 0 20px;
    color: var(--vv-color-text-muted);
    font-size: 16px;
}

.payment-qr-code {
    margin: 20px 0;
    display: inline-block;
}

.payment-qr-code img {
    max-width: 100%;
    height: auto;
}

.payment-button-wrapper {
    margin-top: var(--vv-space-lg);
}

.payment-button {
    display: inline-block;
    padding: 17px 40px;
    background-color: var(--ast-global-color-0, var(--vv-color-primary));
    color: var(--vv-color-text-white);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    font-size: var(--vv-font-size-md);
    font-weight: var(--vv-font-weight-semibold);
    transition: all var(--vv-transition-base);
}

.payment-button:hover {
    background-color: var(--ast-global-color-1, var(--vv-color-primary-hover));
    transform: translateY(-2px);
    box-shadow: var(--vv-shadow-lg);
}

/* Recipe Ingredients Widget */
.recipe-ingredients {
    padding: var(--vv-space-xl);
    border-radius: var(--vv-radius-lg);
}

.recipe-ingredients-title {
    margin: 0 0 20px;
    font-size: 26px;
    font-weight: 700;
}

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

.recipe-ingredients-list li {
    padding: 12px 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Show dividers only when has-item-divider class is present */
.recipe-ingredients-list.has-item-divider li {
    border-bottom: 1px solid var(--vv-color-border);
}

.recipe-ingredients-list.has-item-divider li:last-child {
    border-bottom: none;
}

.ingredient-amount {
    font-weight: 600;
    margin-right: 15px;
}

.ingredient-name {
    flex: 1;
}

.recipe-ingredients-table {
    width: 100%;
    border-collapse: collapse;
}

.recipe-ingredients-table th {
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid var(--vv-color-border-light);
    font-weight: 600;
}

.recipe-ingredients-table td {
    padding: 12px;
    border-bottom: none;
}

/* Show dividers only when has-item-divider class is present */
.recipe-ingredients-table.has-item-divider td {
    border-bottom: 1px solid var(--vv-color-border);
}

.recipe-ingredients-table.has-item-divider tbody tr:last-child td {
    border-bottom: none;
}

.recipe-ingredients-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--vv-space-md);
}

.ingredient-card {
    padding: var(--vv-space-lg);
    background: #fff;
    border: 1px solid var(--vv-color-border);
    border-radius: var(--vv-radius-lg);
    text-align: center;
    transition: transform var(--vv-transition-fast), box-shadow var(--vv-transition-fast);
}

.ingredient-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--vv-shadow-lg);
}

.ingredient-card .ingredient-amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ingredient-card .ingredient-name {
    font-size: 14px;
}

/* Category Groups and Dividers */
.ingredient-category-group {
    position: relative;
}

.ingredient-category-group.has-divider {
    position: relative;
}

.ingredient-category-group.has-divider::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 1px;
    background-color: var(--vv-color-border);
}

/* Remove divider from last category */
.ingredient-category-group.has-divider:last-child::after {
    display: none;
}

.ingredient-category-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--vv-color-text-primary);
}

/* Recipe Steps Widget */
.recipe-steps {
    padding: var(--vv-space-xl);
}

.recipe-steps-title {
    margin: 0 0 25px;
    font-size: 26px;
    font-weight: 700;
}

.recipe-steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recipe-step {
    display: flex;
    gap: 20px;
    padding: var(--vv-space-lg);
    border-radius: var(--vv-radius-lg);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.step-image {
    margin: 15px 0;
}

.step-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--vv-radius-lg);
}

.step-description {
    margin: 10px 0;
    line-height: 1.6;
}

.step-time {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--vv-color-text-muted);
    font-size: 14px;
}

/* Recipe Info Widget */
.recipe-info {
    padding: var(--vv-space-xl);
    border-radius: var(--vv-radius-lg);
}

.recipe-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--vv-space-md);
}

.recipe-info-list .info-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--vv-color-border);
}

.recipe-info-list .info-item:last-child {
    border-bottom: none;
}

.recipe-info-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    border-radius: var(--vv-radius-lg);
    min-width: 0;
    overflow: hidden;
}

.info-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-icon-value {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

/* Support for HTML icons (FontAwesome, Elementor Icons, etc.) */
.info-icon i,
.info-icon svg {
    font-size: inherit;
    width: auto;
    height: auto;
}

.info-icon i::before {
    line-height: 1;
}

.info-value {
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Recipe Gallery Widget */
.recipe-gallery {
    padding: var(--vv-space-xl);
}

.recipe-gallery-title {
    margin: 0 0 25px;
    font-size: 26px;
    font-weight: 700;
}

/* Grid Layout */
.recipe-gallery-grid {
    display: grid;
    gap: 10px;
}

.recipe-gallery-grid.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.recipe-gallery-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.recipe-gallery-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.recipe-gallery-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.recipe-gallery-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.recipe-gallery-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* Masonry Layout */
.recipe-gallery-masonry {
    column-gap: 10px;
}

.recipe-gallery-masonry.columns-1 {
    column-count: 1;
}

.recipe-gallery-masonry.columns-2 {
    column-count: 2;
}

.recipe-gallery-masonry.columns-3 {
    column-count: 3;
}

.recipe-gallery-masonry.columns-4 {
    column-count: 4;
}

.recipe-gallery-masonry.columns-5 {
    column-count: 5;
}

.recipe-gallery-masonry.columns-6 {
    column-count: 6;
}

.recipe-gallery-masonry .gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    break-inside: avoid;
}

/* Slider Layout */
.recipe-gallery-slider {
    position: relative;
    overflow: hidden;
}

.recipe-gallery-slider .gallery-slider-track {
    display: flex;
    transition: transform 0.3s ease;
}

.recipe-gallery-slider .gallery-item {
    min-width: 100%;
    flex-shrink: 0;
}

.recipe-gallery-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}

.recipe-gallery-slider .slider-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.recipe-gallery-slider .slider-nav.prev {
    left: 10px;
}

.recipe-gallery-slider .slider-nav.next {
    right: 10px;
}

.recipe-gallery-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.recipe-gallery-slider .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--vv-color-border-light);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}

.recipe-gallery-slider .slider-dot.active {
    background: var(--vv-color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .recipe-gallery-grid.columns-tablet-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .recipe-gallery-grid.columns-tablet-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .recipe-gallery-grid.columns-tablet-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .recipe-gallery-masonry.columns-tablet-1 {
        column-count: 1;
    }
    .recipe-gallery-masonry.columns-tablet-2 {
        column-count: 2;
    }
    .recipe-gallery-masonry.columns-tablet-3 {
        column-count: 3;
    }
}

@media (max-width: 767px) {
    .recipe-gallery-grid.columns-mobile-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .recipe-gallery-grid.columns-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .recipe-gallery-masonry.columns-mobile-1 {
        column-count: 1;
    }
    .recipe-gallery-masonry.columns-mobile-2 {
        column-count: 2;
    }

    .recipe-gallery-slider .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Prevent grid/masonry from forcing 100% width on smaller images */
.recipe-gallery-grid .gallery-item img,
.recipe-gallery-masonry .gallery-item img {
    width: auto;
    max-width: 100%;
}

/* Slider needs full width */
.recipe-gallery-slider .gallery-item img {
    width: 100%;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--vv-color-text-muted);
}

/* Product Card Widget */
/* Grid Container */
.product-cards-grid {
    display: grid;
    column-gap: 20px;
    row-gap: 20px;
}

.product-cards-grid.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.product-cards-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.product-cards-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.product-cards-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.product-cards-grid.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.product-cards-grid.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1024px) {
    .product-cards-grid.columns-tablet-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .product-cards-grid.columns-tablet-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-cards-grid.columns-tablet-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .product-cards-grid.columns-mobile-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .product-cards-grid.columns-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single Product Card */
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--vv-shadow-xl);
}

/* Horizontal Layout */
.product-card-horizontal {
    flex-direction: row;
}

.product-card-horizontal .product-card-image {
    flex: 0 0 40%;
}

.product-card-horizontal .product-card-content {
    flex: 1;
}

/* Product Card Image */
.product-card-image {
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Product Card Content */
.product-card-content {
    padding: var(--vv-space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--vv-space-md);
    flex: 1;
}

.product-card-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--vv-color-text-primary);
    line-height: 1.3;
}

.product-card-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--vv-color-primary);
}

.product-card-price del {
    color: #999;
    font-size: 16px;
    margin-right: 10px;
}

.product-card-price ins {
    text-decoration: none;
}

.product-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--vv-color-text-muted);
    margin: 0;
}

.product-card-excerpt p {
    margin: 0;
}

/* Product Card QR */
.product-card-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--vv-color-bg-light);
    border-radius: var(--vv-radius-lg);
}

.product-card-qr-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--vv-color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-qr-image {
    display: block;
    border-radius: var(--vv-radius-lg);
}

/* Product Card Button */
.product-card-button-wrapper {
    margin-top: auto;
}

.product-card-button {
    display: block;
    width: 100%;
    padding: 17px 40px;
    background: var(--ast-global-color-0, #F9C349);
    color: #000000;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    transition: all var(--vv-transition-base);
    border: none;
    cursor: pointer;
}

.product-card-button:hover {
    background: var(--ast-global-color-1, #FFB100);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--vv-shadow-lg);
}

/* Product Card - Purchased State */
.product-card--purchased {
    border: 2px solid #2d5016;
}

.product-card-purchased-badge {
    position: absolute;
    background: #2d5016;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-card--purchased .product-card-title a {
    color: inherit;
    text-decoration: none;
}

.product-card--purchased .product-card-title a:hover {
    color: #2d5016;
}

.product-card-button--open {
    background: #2d5016 !important;
}

.product-card-button--open:hover {
    background: #1a3a0a !important;
}

/* Product Card - Aspect Ratio Classes */
.product-card-image.aspect-square { aspect-ratio: 1 / 1; }
.product-card-image.aspect-landscape { aspect-ratio: 3 / 2; }
.product-card-image.aspect-portrait { aspect-ratio: 2 / 3; }
.product-card-image.aspect-book { aspect-ratio: 2 / 3; }
.product-card-image.aspect-auto { aspect-ratio: auto; }

.product-card-image[class*="aspect-"]:not(.aspect-auto) img {
    height: 100%;
    object-fit: cover;
}

/* Product Card - Recipe Count Badge */
.product-card .recipe-count-badge {
    position: absolute;
    background: rgba(244, 162, 97, 0.95);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.3px;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Badge Position Classes (universal) */
.badge-pos-top-left { top: 12px; left: 12px; }
.badge-pos-top-right { top: 12px; right: 12px; }
.badge-pos-bottom-left { bottom: 12px; left: 12px; }
.badge-pos-bottom-right { bottom: 12px; right: 12px; }

/* Product Card - Title Link */
.product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card-title a:hover {
    color: var(--ast-global-color-0, var(--vv-color-primary));
}

/* Training Combo Widget */
.training-combo {
    background: var(--vv-color-bg-primary);
    border-radius: var(--vv-radius-xl);
    padding: var(--vv-space-3xl);
    box-shadow: var(--vv-shadow-lg);
}

.combo-heading {
    margin: 0 0 var(--vv-space-sm) 0;
    font-size: var(--vv-font-size-2xl);
    font-weight: var(--vv-font-weight-bold);
    text-align: center;
    color: var(--vv-color-text-primary);
}

.combo-description {
    margin: 0 0 var(--vv-space-2xl) 0;
    font-size: var(--vv-font-size-md);
    text-align: center;
    color: var(--vv-color-text-muted);
}

.combo-products {
    display: flex;
    gap: var(--vv-space-2xl);
    align-items: stretch;
    margin-bottom: var(--vv-space-2xl);
}

.combo-product {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--vv-color-bg-secondary);
    border-radius: var(--vv-radius-lg);
    padding: var(--vv-space-xl);
    position: relative;
    overflow: hidden;
}

.combo-product-badge {
    position: absolute;
    top: var(--vv-space-md);
    right: var(--vv-space-md);
    background: var(--vv-color-primary);
    color: var(--vv-color-text-white);
    padding: var(--vv-space-xs) var(--vv-space-md);
    border-radius: var(--vv-radius-full);
    font-size: var(--vv-font-size-xs);
    font-weight: var(--vv-font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.combo-recipe .combo-product-badge {
    background: var(--vv-color-success);
}

.combo-product-image {
    margin-bottom: var(--vv-space-md);
    border-radius: var(--vv-radius-lg);
    overflow: hidden;
}

.combo-product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--vv-transition-base);
}

.combo-product:hover .combo-product-image img {
    transform: scale(1.05);
}

.combo-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.combo-product-title {
    margin: 0 0 var(--vv-space-md) 0;
    font-size: var(--vv-font-size-lg);
    font-weight: var(--vv-font-weight-semibold);
    color: var(--vv-color-text-primary);
}

.combo-product-excerpt {
    margin-bottom: var(--vv-space-md);
    color: var(--vv-color-text-muted);
    flex: 1;
}

.combo-product-excerpt p {
    margin: 0;
}

.combo-product-price {
    font-size: var(--vv-font-size-xl);
    font-weight: var(--vv-font-weight-bold);
    color: var(--vv-color-primary);
}

.combo-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.combo-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--vv-color-primary);
    color: var(--vv-color-text-white);
    border-radius: var(--vv-radius-full);
    font-size: var(--vv-font-size-2xl);
    font-weight: var(--vv-font-weight-bold);
    box-shadow: var(--vv-shadow-md);
}

.combo-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--vv-space-lg);
    background: var(--vv-color-bg-light);
    border-radius: var(--vv-radius-lg);
    margin-bottom: var(--vv-space-xl);
}

.combo-total-label {
    font-size: var(--vv-font-size-md);
    font-weight: var(--vv-font-weight-semibold);
    color: var(--vv-color-text-primary);
}

.combo-total-price {
    font-size: var(--vv-font-size-2xl);
    font-weight: var(--vv-font-weight-bold);
    color: var(--vv-color-primary);
}

.combo-button-wrapper {
    text-align: center;
}

.combo-button {
    display: inline-block;
    padding: 17px 40px;
    background: var(--ast-global-color-0, var(--vv-color-primary));
    color: var(--vv-color-text-white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all var(--vv-transition-fast);
    box-shadow: var(--vv-shadow-md);
}

.combo-button:hover {
    background: var(--ast-global-color-1, var(--vv-color-primary-hover));
    transform: translateY(-3px);
    box-shadow: var(--vv-shadow-xl);
}

/* Responsive Training Combo */
@media (max-width: 1024px) {
    .training-combo {
        padding: var(--vv-space-2xl);
    }

    .combo-products {
        gap: var(--vv-space-xl);
    }

    .combo-plus {
        width: 40px;
        height: 40px;
        font-size: var(--vv-font-size-xl);
    }
}

@media (max-width: 768px) {
    .training-combo {
        padding: var(--vv-space-lg);
    }

    .combo-heading {
        font-size: var(--vv-font-size-xl);
    }

    .combo-products {
        flex-direction: column;
        gap: var(--vv-space-lg);
    }

    .combo-separator {
        margin: var(--vv-space-md) 0;
    }

    .combo-plus {
        transform: rotate(90deg);
    }

    .combo-product {
        padding: var(--vv-space-lg);
    }

    .combo-total {
        flex-direction: column;
        gap: var(--vv-space-sm);
        text-align: center;
    }

    .combo-button {
        width: 100%;
        padding: var(--vv-space-md) var(--vv-space-xl);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .product-card-horizontal {
        flex-direction: column;
    }

    .product-card-horizontal .product-card-image {
        flex: none;
    }

    .product-card-title {
        font-size: 20px;
    }

    .product-card-price {
        font-size: 18px;
    }
}

/* Step image position variations */
.recipe-step.step-image-left .step-content,
.recipe-step.step-image-right .step-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.recipe-step.step-image-left .step-image {
    flex-shrink: 0;
    margin: 0;
}

.recipe-step.step-image-right .step-image {
    flex-shrink: 0;
    margin: 0;
}

.recipe-step.step-image-left .step-text-wrapper,
.recipe-step.step-image-right .step-text-wrapper {
    flex: 1;
}

.recipe-step.step-image-right .step-content {
    flex-direction: row-reverse;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recipe-step {
        flex-direction: column;
    }

    /* On mobile, always stack image and text vertically */
    .recipe-step.step-image-left .step-content,
    .recipe-step.step-image-right .step-content {
        flex-direction: column;
    }

    .recipe-info-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .info-item {
        padding: 10px;
        gap: 4px;
    }

    .info-icon {
        font-size: 20px !important;
        min-width: 20px !important;
    }

    .info-label {
        font-size: 10px !important;
    }

    .info-value {
        font-size: 13px !important;
        white-space: nowrap;
    }

    .info-icon-value {
        gap: 6px;
    }

    .recipe-info-inline {
        flex-direction: column;
    }

    .recipe-ingredients-cards {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Product Image Widget */
.product-image-wrapper {
    display: block;
    line-height: 0;
}

.product-image-wrapper img {
    display: block;
    height: auto;
}

.product-image-caption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--vv-color-text-muted);
    text-align: center;
}

/* Recipe Steps - Image Sizing */
.step-image {
    display: block;
    line-height: 0;
}

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

/* Brand Logo Widget */
.brand-logo-wrapper {
    line-height: 0;
}

.brand-logo-wrapper img {
    height: auto;
    max-width: 100%;
}

/* Brand Logo Alignment */
.brand-logo-align-left .brand-logo-wrapper img {
    display: block;
    margin-right: auto;
}

.brand-logo-align-center .brand-logo-wrapper img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.brand-logo-align-right .brand-logo-wrapper img {
    display: block;
    margin-left: auto;
}

/* Brand Logo Gallery */
.brand-logo-gallery {
    display: grid;
    gap: 20px;
}

.brand-logo-gallery.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.brand-logo-gallery.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.brand-logo-gallery.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.brand-logo-gallery.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.brand-logo-gallery.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.brand-logo-gallery.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.brand-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-logo-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

.brand-logo-caption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--vv-color-text-muted);
}

/* Responsive grid for logo gallery */
@media (max-width: 1024px) {
    .brand-logo-gallery.columns-tablet-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .brand-logo-gallery.columns-tablet-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-logo-gallery.columns-tablet-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .brand-logo-gallery.columns-mobile-1 {
        grid-template-columns: repeat(1, 1fr);
    }
    .brand-logo-gallery.columns-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== SERVING SUGGESTION STYLES ===== */
.serving-suggestion {
    background-color: var(--vv-color-warning-bg);
    border-left: 4px solid var(--vv-color-warning);
    border-radius: var(--vv-radius-sm);
    padding: 15px 20px;
    margin-top: 20px;
}

.serving-suggestion .serving-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--vv-color-warning-text);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.serving-suggestion .serving-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--vv-color-text-muted);
    margin: 0;
}

.serving-suggestion .serving-content p {
    margin: 0 0 10px 0;
}

.serving-suggestion .serving-content p:last-child {
    margin-bottom: 0;
}

/* When serving suggestion is positioned before info */
.recipe-info-wrapper .serving-suggestion:first-child {
    margin-top: 0;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .serving-suggestion {
        padding: 12px 15px;
    }

    .serving-suggestion .serving-title {
        font-size: 16px;
    }

    .serving-suggestion .serving-content {
        font-size: 14px;
    }
}

/* ==========================================
   EMAIL ACCESS FORM
   ========================================== */

.vv-email-access {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.vv-email-access__icon {
    font-size: 4em;
    margin-bottom: var(--vv-space-lg);
}

.vv-email-access__title {
    margin: 0 0 var(--vv-space-md) 0;
    font-size: 1.8em;
}

.vv-email-access__desc {
    margin: 0 0 var(--vv-space-2xl) 0;
    color: var(--vv-color-text-muted);
    font-size: 1.1em;
}

.vv-email-access__form {
    background: var(--vv-color-bg-primary);
    padding: var(--vv-space-2xl);
    border: var(--vv-border-width) solid var(--vv-color-border);
    border-radius: var(--vv-radius-lg);
    box-shadow: var(--vv-shadow-md);
}

.vv-email-access__form form {
    margin-bottom: var(--vv-space-lg);
}

.vv-email-access__input-wrap {
    margin-bottom: var(--vv-space-md);
}

.vv-email-access__input {
    width: 100%;
    padding: var(--vv-space-md);
    border: var(--vv-border-width-thick) solid var(--vv-color-border);
    border-radius: var(--vv-radius-md);
    font-size: 1em;
    box-sizing: border-box;
}

.vv-email-access__input:focus {
    border-color: var(--vv-color-primary);
    outline: none;
    box-shadow: var(--vv-shadow-focus);
}

.vv-email-access__submit {
    width: 100%;
    padding: 17px 40px;
    background: var(--ast-global-color-0, var(--vv-color-primary));
    color: var(--vv-color-text-white);
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--vv-transition-fast);
}

.vv-email-access__submit:hover {
    background: var(--ast-global-color-1, var(--vv-color-primary-hover));
}

.vv-email-access__message {
    display: none;
    padding: var(--vv-space-md);
    border-radius: var(--vv-radius-md);
    margin-top: var(--vv-space-md);
}

.vv-email-access__divider {
    border-top: var(--vv-border-width) solid var(--vv-color-border);
    margin-top: var(--vv-space-xl);
    padding-top: var(--vv-space-xl);
}

.vv-email-access__divider-text {
    margin: 0 0 var(--vv-space-md) 0;
    color: var(--vv-color-text-muted);
    font-size: 0.9em;
}

.vv-email-access__login {
    display: inline-block;
    padding: var(--vv-space-sm) var(--vv-space-xl);
    border: var(--vv-border-width) solid var(--vv-color-primary);
    color: var(--vv-color-primary);
    text-decoration: none;
    border-radius: var(--vv-radius-sm);
    font-weight: var(--vv-font-weight-semibold);
    transition: all var(--vv-transition-fast);
}

.vv-email-access__login:hover {
    background: var(--vv-color-primary-light);
}

.vv-email-access__note {
    margin-top: var(--vv-space-xl);
    color: var(--vv-color-text-light);
    font-size: 0.85em;
}

/* ==========================================
   EMPTY STATE
   ========================================== */

.vv-empty-state {
    max-width: 600px;
    margin: 60px auto;
    padding: 60px 40px;
    text-align: center;
    background: var(--vv-color-bg-secondary);
    border: var(--vv-border-width-thick) solid var(--vv-color-border);
    border-radius: var(--vv-radius-xl);
}

.vv-empty-state__icon {
    font-size: 5em;
    margin-bottom: var(--vv-space-lg);
}

.vv-empty-state__title {
    margin: 0 0 var(--vv-space-md) 0;
    font-size: 2em;
    color: var(--vv-color-text-primary);
    font-weight: var(--vv-font-weight-bold);
}

.vv-empty-state__text {
    font-size: 1.1em;
    margin-bottom: var(--vv-space-2xl);
    color: var(--vv-color-text-muted);
    line-height: var(--vv-line-height-relaxed);
}

.vv-empty-state__action {
    display: inline-block;
    padding: 17px 40px;
    background: var(--ast-global-color-0, var(--vv-color-primary));
    color: var(--vv-color-text-white);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: all var(--vv-transition-fast);
}

.vv-empty-state__action:hover {
    background: var(--ast-global-color-1, var(--vv-color-primary-hover));
    transform: translateY(-2px);
    box-shadow: var(--vv-shadow-lg);
}

.vv-empty-state--small {
    margin: 0;
    padding: 40px;
}

.vv-empty-state--small .vv-empty-state__icon {
    font-size: 3em;
    margin-bottom: var(--vv-space-md);
}

@media (max-width: 768px) {
    .vv-empty-state {
        margin: 30px 20px;
        padding: 40px 20px;
    }
}

/* ==========================================
   SECTION TITLE
   ========================================== */

.vv-section-title {
    margin: 0 0 var(--vv-space-xl) 0;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: var(--vv-space-sm);
}

/* ==========================================
   BOOKS GRID & BOOK CARD
   ========================================== */

.vv-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--vv-space-2xl);
    margin-bottom: 50px;
}

.vv-book-card {
    background: var(--vv-color-bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--vv-transition-base), box-shadow var(--vv-transition-base);
}

.vv-book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vv-book-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vv-book-card__cover {
    position: relative;
    padding-top: 140%;
    background: linear-gradient(135deg, var(--vv-color-primary) 0%, var(--vv-color-primary-active) 100%);
}

.vv-book-card__cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vv-book-card__cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vv-color-text-white);
    font-size: 5em;
}

.vv-book-card__badge {
    position: absolute;
    top: var(--vv-space-md);
    right: var(--vv-space-md);
    background: rgba(0, 0, 0, 0.7);
    color: var(--vv-color-text-white);
    padding: var(--vv-space-sm) var(--vv-space-md);
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: var(--vv-font-weight-semibold);
}

.vv-book-card__info {
    padding: var(--vv-space-lg);
}

.vv-book-card__title {
    margin: 0 0 var(--vv-space-sm) 0;
    font-size: 1.2em;
    color: var(--vv-color-text-primary);
}

.vv-book-card__desc {
    margin: 0 0 var(--vv-space-md) 0;
    color: var(--vv-color-text-muted);
    font-size: 0.9em;
    line-height: var(--vv-line-height-normal);
}

.vv-book-card__chapters {
    border-top: var(--vv-border-width) solid var(--vv-color-border-lighter);
    padding-top: var(--vv-space-md);
    margin-top: var(--vv-space-md);
}

.vv-book-card__chapters-label {
    margin: 0 0 var(--vv-space-sm) 0;
    font-size: 0.8em;
    color: var(--vv-color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vv-book-card__chapters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vv-space-xs);
}

.vv-book-card__btn-wrap {
    padding: 0 var(--vv-space-lg) var(--vv-space-lg);
}

.vv-book-card__btn {
    display: block;
    padding: 12px;
    background: var(--ast-global-color-0, #F9C349);
    color: #000000;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    transition: background var(--vv-transition-fast);
}

.vv-book-card__btn:hover {
    background: var(--ast-global-color-1, #FFB100);
    color: #000000;
}

/* ==========================================
   RECIPES GRID & RECIPE CARD
   ========================================== */

.vv-recipes-grid {
    display: grid;
    gap: var(--vv-space-xl);
}

.vv-recipe-card {
    background: var(--vv-color-bg-primary);
    border: var(--vv-border-width) solid var(--vv-color-border);
    border-radius: var(--vv-radius-lg);
    overflow: hidden;
    transition: transform var(--vv-transition-fast), box-shadow var(--vv-transition-fast);
}

.vv-recipe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.vv-recipe-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.vv-recipe-card__image {
    position: relative;
    padding-top: 66.67%;
    background: var(--vv-color-bg-light);
}

.vv-recipe-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vv-recipe-card__image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--vv-color-primary) 0%, var(--vv-color-primary-active) 100%);
    color: var(--vv-color-text-white);
    font-size: 3em;
}

.vv-recipe-card__badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px var(--vv-space-sm);
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: var(--vv-font-weight-semibold);
    z-index: 2;
}

/* Difficulty-level badge colors */
.vv-recipe-card__badge--easy {
    background: #e8f5e9;
    color: #2e7d32;
}
.vv-recipe-card__badge--medium {
    background: #fff3e0;
    color: #e65100;
}
.vv-recipe-card__badge--hard {
    background: #fce4ec;
    color: #c62828;
}

.vv-recipe-card__body {
    padding: var(--vv-space-lg);
}

.vv-recipe-card__title {
    margin: 0 0 var(--vv-space-sm) 0;
    font-size: 1.1em;
    color: var(--vv-color-text-primary);
}

.vv-recipe-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: var(--vv-space-md);
    color: var(--vv-color-text-muted);
    font-size: 0.85em;
}

.vv-recipe-card__btn {
    display: block;
    padding: var(--vv-space-sm);
    background: var(--ast-global-color-0, #F9C349);
    color: #000000;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    font-size: 0.9em;
    transition: background var(--vv-transition-fast);
}

.vv-recipe-card__btn:hover {
    background: var(--ast-global-color-1, #FFB100);
    color: #000000;
}

/* ==========================================
   TAG / BADGE
   ========================================== */

.vv-tag {
    background: var(--vv-color-bg-light);
    padding: 4px var(--vv-space-sm);
    border-radius: 12px;
    font-size: 0.8em;
    color: var(--vv-color-text-secondary);
}

.vv-tag--muted {
    background: transparent;
    color: var(--vv-color-text-light);
}

/* ==========================================
   RECIPE INFO GRID (helpers.php render)
   ========================================== */

.vv-recipe-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--vv-space-lg);
}

.vv-recipe-info-item {
    padding: var(--vv-space-md);
    background: var(--vv-color-bg-secondary);
    border-radius: var(--vv-radius-lg);
}

.vv-recipe-info-item__icon {
    font-size: 2rem;
    margin-bottom: var(--vv-space-sm);
}

.vv-recipe-info-item__label {
    font-weight: var(--vv-font-weight-semibold);
    color: var(--vv-color-primary);
    margin-bottom: var(--vv-space-xs);
}

.vv-recipe-info-item__value {
    font-size: 1.1em;
}

/* ==========================================
   RECIPE STEPS (helpers.php render)
   ========================================== */

.vv-step-item {
    margin-bottom: var(--vv-space-2xl);
    padding: var(--vv-space-lg);
    background: var(--vv-color-bg-secondary);
    border-radius: var(--vv-radius-lg);
}

.vv-step-item__image {
    margin-bottom: var(--vv-space-md);
}

.vv-step-item__image img {
    width: 100%;
    height: auto;
    border-radius: var(--vv-radius-lg);
}

.vv-step-item__header {
    margin-bottom: var(--vv-space-sm);
}

.vv-step-number {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: var(--vv-color-primary);
    color: var(--vv-color-text-white);
    border-radius: var(--vv-radius-full);
    text-align: center;
    line-height: 35px;
    margin-right: var(--vv-space-sm);
}

.vv-step-description {
    margin-left: 45px;
}

.vv-step-time {
    margin-left: 45px;
    margin-top: var(--vv-space-sm);
    color: var(--vv-color-text-muted);
}

/* ==========================================
   RECIPE INGREDIENTS (helpers.php render)
   ========================================== */

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

.vv-ingredients-list li {
    padding: 12px 0;
    border-bottom: var(--vv-border-width) solid var(--vv-color-border);
    display: flex;
    align-items: baseline;
}

.vv-ingredients-list li:last-child {
    border-bottom: none;
}

.vv-ingredient-amount {
    font-weight: var(--vv-font-weight-bold);
    color: var(--vv-color-primary);
    margin-right: var(--vv-space-sm);
    min-width: 80px;
}

/* ==========================================
   RECIPE STORY (helpers.php render)
   ========================================== */

.vv-recipe-story {
    background: var(--vv-color-bg-secondary);
    padding: var(--vv-space-2xl);
    border-radius: var(--vv-radius-lg);
    font-family: Georgia, serif;
    line-height: 1.8;
}

.vv-recipe-story__image {
    margin-bottom: var(--vv-space-lg);
}

.vv-recipe-story__image img {
    width: 100%;
    height: auto;
    border-radius: var(--vv-radius-lg);
}

.vv-recipe-story__content {
    font-size: 1.1em;
}

/* ==========================================
   RECIPE GALLERY (helpers.php render)
   ========================================== */

.vv-recipe-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--vv-space-md);
}

.vv-recipe-gallery img {
    width: 100%;
    height: auto;
    border-radius: var(--vv-radius-lg);
}

/* ==========================================
   MAGIC LINK BOX
   ========================================== */

.vv-magic-link-box {
    background: var(--vv-color-bg-secondary);
    padding: var(--vv-space-xl);
    border: var(--vv-border-width) solid var(--vv-color-border);
    border-radius: var(--vv-radius-lg);
}

.vv-magic-link-box__title {
    margin: 0 0 var(--vv-space-sm) 0;
}

.vv-magic-link-box__desc {
    margin: 0 0 var(--vv-space-md) 0;
    color: var(--vv-color-text-muted);
}

.vv-magic-link-box__input-group {
    display: flex;
    gap: var(--vv-space-sm);
    margin-bottom: var(--vv-space-md);
    flex-wrap: wrap;
}

.vv-magic-link-box__input {
    flex: 1;
    min-width: 200px;
    padding: var(--vv-space-sm);
    border: var(--vv-border-width) solid var(--vv-color-border-light);
    border-radius: var(--vv-radius-sm);
    font-size: var(--vv-font-size-sm);
}

.vv-magic-link-box__copy {
    padding: var(--vv-space-sm) var(--vv-space-lg);
    background: var(--ast-global-color-0, var(--vv-color-primary));
    color: var(--vv-color-text-white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: var(--vv-font-weight-semibold);
    transition: background var(--vv-transition-fast);
}

.vv-magic-link-box__copy:hover {
    background: var(--ast-global-color-1, var(--vv-color-primary-hover));
}

.vv-magic-link-box__share-group {
    display: flex;
    gap: var(--vv-space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--vv-space-md);
}

.vv-magic-link-box__share {
    flex: 1;
    min-width: 150px;
    padding: var(--vv-space-sm) var(--vv-space-md);
    border: var(--vv-border-width) solid var(--vv-color-border-light);
    background: var(--vv-color-bg-primary);
    color: var(--vv-color-text-primary);
    border-radius: 30px;
    cursor: pointer;
    transition: background var(--vv-transition-fast);
}

.vv-magic-link-box__share:hover {
    background: var(--vv-color-bg-light);
}

.vv-magic-link-box__share--whatsapp {
    border-color: #25D366;
    background: #25D366;
    color: var(--vv-color-text-white);
}

.vv-magic-link-box__share--whatsapp:hover {
    background: #1da851;
}

.vv-magic-link-box__note {
    margin: 0;
    font-size: var(--vv-font-size-sm);
    color: var(--vv-color-text-muted);
    font-style: italic;
}

/* ==========================================
   PAGE NAVIGATION
   ========================================== */

.vv-page-nav {
    margin-bottom: var(--vv-space-2xl);
    padding: var(--vv-space-md) 0;
    border-bottom: var(--vv-border-width-thick) solid var(--vv-color-border);
}

.vv-page-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--vv-space-2xl);
    justify-content: center;
    flex-wrap: wrap;
}

.vv-page-nav__list a {
    text-decoration: none;
    color: var(--vv-color-text-primary);
    font-weight: var(--vv-font-weight-semibold);
    transition: color var(--vv-transition-fast);
}

.vv-page-nav__list a:hover {
    color: var(--vv-color-primary);
}

.vv-page-nav__list .current-menu-item a,
.vv-page-nav__list .current_page_item a {
    color: var(--vv-color-primary);
}

@media (max-width: 768px) {
    .vv-page-nav__list {
        flex-direction: column;
        align-items: center;
        gap: var(--vv-space-md);
    }
}

/* ==========================================
   BOOK NAVIGATION (prev/next)
   ========================================== */

.vv-book-nav__toc {
    text-align: center;
    margin-bottom: var(--vv-space-lg);
}

.vv-book-nav__position {
    display: block;
    font-size: 0.85em;
    color: var(--vv-color-text-light);
    margin-top: var(--vv-space-xs);
}

.vv-book-nav__links {
    display: flex;
    justify-content: space-between;
    gap: var(--vv-space-lg);
    flex-wrap: wrap;
}

.vv-book-nav__prev,
.vv-book-nav__next {
    flex: 1;
    min-width: 200px;
}

.vv-book-nav__next {
    text-align: right;
}

.vv-book-nav__link {
    display: flex;
    align-items: center;
    gap: var(--vv-space-md);
    text-decoration: none;
    padding: var(--vv-space-md);
    background: var(--vv-color-bg-primary);
    border-radius: var(--vv-radius-lg);
    transition: box-shadow var(--vv-transition-fast);
}

.vv-book-nav__link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vv-book-nav__link--next {
    justify-content: flex-end;
}

.vv-book-nav__link--next .vv-book-nav__text {
    text-align: right;
}

.vv-book-nav__link--disabled {
    display: block;
    padding: var(--vv-space-md);
    opacity: 0.5;
    text-align: center;
}

.vv-book-nav__thumb {
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: var(--vv-radius-md);
}

.vv-book-nav__label {
    display: block;
    font-size: 0.85em;
    opacity: 0.7;
}

.vv-book-nav__title {
    display: block;
    font-weight: var(--vv-font-weight-semibold);
}

@media (max-width: 768px) {
    .vv-book-nav__links {
        flex-direction: column;
    }

    .vv-book-nav__prev,
    .vv-book-nav__next {
        text-align: center;
    }

    .vv-book-nav__link {
        justify-content: center;
    }
}

/* ==========================================
   BOOK COVER (recipe-book-cover)
   ========================================== */

.book-cover-container {
    position: relative;
    display: inline-block;
}

.book-cover-image {
    width: 100%;
    height: auto;
    display: block;
}

.book-title-overlay {
    position: absolute;
    left: 0;
    right: 0;
}

.book-title-overlay h3 {
    margin: 0;
}

/* Title positions */
.book-title-overlay--top {
    top: 0;
}

.book-title-overlay--middle {
    top: 50%;
    transform: translateY(-50%);
}

.book-title-overlay--bottom {
    bottom: 0;
}

.book-recipe-count {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

/* ==========================================
   CHAPTER (recipe-book-chapters)
   ========================================== */

.vv-chapter {
    border-bottom: var(--vv-border-width) solid var(--vv-color-border-lighter);
    padding-bottom: var(--vv-space-2xl);
}

.vv-chapter:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.vv-chapter__header {
    margin-bottom: var(--vv-space-lg);
}

.vv-chapter__title {
    margin: 0 0 var(--vv-space-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--vv-space-sm);
    flex-wrap: wrap;
}

.vv-chapter__number {
    color: var(--vv-color-primary);
}

.vv-chapter__recipe-count {
    font-size: 0.7em;
    font-weight: normal;
    color: var(--vv-color-text-light);
}

.vv-chapter__description {
    margin: 0;
    font-style: italic;
}

.vv-chapter__recipes {
    display: flex;
    flex-direction: column;
    gap: var(--vv-space-sm);
}

.vv-chapter__recipe-link {
    display: flex;
    align-items: center;
    gap: var(--vv-space-md);
    text-decoration: none;
    padding: var(--vv-space-sm);
    border-radius: var(--vv-radius-lg);
    transition: background var(--vv-transition-fast);
}

.vv-chapter__recipe-link:hover {
    background: var(--vv-color-bg-light);
}

.vv-chapter__recipe-thumb {
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: var(--vv-radius-md);
}

.vv-chapter__recipe-title {
    font-weight: 500;
}

/* ==========================================
   SUCCESS BANNER
   ========================================== */

.vv-success-banner {
    background: var(--vv-color-success-bg);
    padding: var(--vv-space-lg) var(--vv-space-2xl);
    border: var(--vv-border-width-thick) solid var(--vv-color-success-border);
    border-radius: var(--vv-radius-lg);
    text-align: center;
}

.vv-success-banner--fixed {
    position: fixed;
    top: var(--vv-space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vv-success-banner__title {
    margin: 0 0 var(--vv-space-sm) 0;
    color: var(--vv-color-success-dark);
    font-size: 1.25rem;
}

.vv-success-banner__text {
    margin: 0 0 var(--vv-space-md) 0;
    color: var(--vv-color-success-dark);
}

.vv-success-banner__btn {
    padding: var(--vv-space-sm) var(--vv-space-lg);
    background: var(--vv-color-success-dark);
    color: var(--vv-color-text-white);
    border: none;
    border-radius: var(--vv-radius-md);
    cursor: pointer;
    font-weight: var(--vv-font-weight-semibold);
    transition: background var(--vv-transition-fast);
}

.vv-success-banner__btn:hover {
    background: #0e3c17;
}

/* ==========================================
   EMAIL RECIPE SECTION (WooCommerce email)
   ========================================== */

.vv-email-recipes {
    margin-top: 40px;
    padding: var(--vv-space-2xl);
    background: var(--vv-color-bg-secondary);
    border: var(--vv-border-width-thick) solid var(--vv-color-success);
    border-radius: var(--vv-radius-lg);
}

.vv-email-recipes__title {
    margin-top: 0;
    color: var(--vv-color-success);
    text-align: center;
}

.vv-email-recipes__desc {
    text-align: center;
    font-size: var(--vv-font-size-base);
    color: var(--vv-color-text-secondary);
}

.vv-email-recipes__list {
    margin: var(--vv-space-lg) 0;
    padding: var(--vv-space-lg);
    background: var(--vv-color-bg-primary);
    border-radius: var(--vv-radius-lg);
    box-shadow: var(--vv-shadow-sm);
}

.vv-email-recipes__list ul {
    margin: 0;
    padding-left: 20px;
}

.vv-email-recipes__list li {
    margin: 5px 0;
    font-size: 15px;
}

.vv-email-recipes__cta {
    text-align: center;
    margin-top: var(--vv-space-2xl);
}

.vv-email-recipes__btn {
    display: inline-block;
    padding: var(--vv-space-md) var(--vv-space-3xl);
    background: var(--vv-color-success);
    color: var(--vv-color-text-white);
    text-decoration: none;
    border-radius: var(--vv-radius-lg);
    font-size: var(--vv-font-size-md);
    font-weight: var(--vv-font-weight-semibold);
}

.vv-email-recipes__hint {
    margin-top: var(--vv-space-2xl);
    padding: var(--vv-space-lg);
    background: var(--vv-color-info-bg);
    border-radius: var(--vv-radius-lg);
    text-align: center;
}

.vv-email-recipes__hint p {
    margin: 0;
    font-size: var(--vv-font-size-sm);
    color: var(--vv-color-info);
    line-height: var(--vv-line-height-relaxed);
}

/* ==========================================
   PDF DOWNLOAD BUTTON
   ========================================== */

.vv-pdf-download {
    margin-bottom: var(--vv-space-2xl);
}

.vv-pdf-download__btn {
    display: block;
    width: 100%;
    padding: var(--vv-space-lg);
    background: var(--ast-global-color-0, var(--vv-color-primary));
    color: var(--vv-color-text-white);
    border: none;
    border-radius: 30px;
    font-size: var(--vv-font-size-md);
    font-weight: var(--vv-font-weight-semibold);
    cursor: pointer;
    box-shadow: var(--vv-shadow-md);
    transition: all var(--vv-transition-base);
}

.vv-pdf-download__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--vv-shadow-lg);
}

.vv-pdf-download__message {
    display: none;
    margin-top: var(--vv-space-md);
}

/* ==========================================
   MY RECIPES WRAPPER
   ========================================== */

.vv-my-recipes-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .vv-recipes-grid,
    .vv-books-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .vv-recipes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .vv-books-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==========================================
   MY BOOK COVER (widget-specific)
   ========================================== */

.my-book-cover {
    position: relative;
    overflow: hidden;
    border-radius: var(--vv-radius-lg) var(--vv-radius-lg) 0 0;
    background: linear-gradient(135deg, var(--vv-color-primary) 0%, var(--vv-color-primary-active) 100%);
}

.my-book-cover.aspect-square { aspect-ratio: 1 / 1; }
.my-book-cover.aspect-landscape { aspect-ratio: 3 / 2; }
.my-book-cover.aspect-portrait { aspect-ratio: 2 / 3; }
.my-book-cover.aspect-book { aspect-ratio: 2 / 3; }
.my-book-cover.aspect-auto { aspect-ratio: auto; }

.my-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--vv-transition-base);
}

.my-book-cover.aspect-auto img {
    height: auto;
    object-fit: contain;
}

.my-book-cover:hover img {
    transform: scale(1.05);
}

.my-book-cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vv-color-text-white);
    font-size: 5em;
}

.my-book-cover .recipe-count-badge {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    color: var(--vv-color-text-white);
    padding: var(--vv-space-sm) var(--vv-space-md);
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: var(--vv-font-weight-semibold);
    z-index: 2;
}
