/**
 * Build Your Own Giftbox - Custom Redesign
 * Mike's Country Meats
 * Mobile-First, Modern Design
 */

/* ========================================
   CSS Variables - Brand Colors & Settings
   ======================================== */
:root {
    --mcm-primary: #b43627;
    --mcm-primary-light: #d4543b;
    --mcm-secondary: #69ac43;
    --mcm-dark: #333333;
    --mcm-gray: #666666;
    --mcm-light-gray: #f8f8f8;
    --mcm-border: #e2e2e2;
    --mcm-white: #ffffff;
    --mcm-shadow: 0 2px 10px rgba(0,0,0,0.08);
    --mcm-shadow-hover: 0 4px 20px rgba(180,54,39,0.15);
    --mcm-transition: all 0.3s ease;
    --mcm-border-radius: 12px;
    --mcm-spacing: 1.5rem;
}

/* ========================================
   Page Background
   ======================================== */
#build-your-own-product main#main {
    background: #f8f8f8;
}

/* ========================================
   General Form Container Improvements
   ======================================== */
.byogb_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    font-family: 'Open Sans', Arial, sans-serif;
}

@media (min-width: 768px) {
    .byogb_wrapper {
        padding: 1rem;
    }
}

@media (min-width: 1024px) {
    .byogb_wrapper {
        padding: 1.5rem;
    }
}

/* Hide Gravity Forms default validation container - Scoped to BYOGB */
.byogb-product-page .gform_validation_container,
.byogb-product-page #field_5_83,
.byogb_wrapper .gform_validation_container,
.byogb_wrapper #field_5_83 {
    display: none !important;
    position: absolute !important;
    left: -9000px;
}

/* Hide specific form elements */
#build-your-own-product div#field_5_2,
#build-your-own-product .quantity {
    display: none;
}

/* Hide submit button but keep it in DOM for functionality */
#build-your-own-product button#gform_submit_button_5 {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ========================================
   Product Totals - Sticky Cart Summary
   ======================================== */
.byogb-product-page form.cart .product_totals,
.byogb-product-page .product_totals,
.byogb_wrapper form.cart .product_totals,
.byogb_wrapper .product_totals {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--mcm-primary) 0%, var(--mcm-primary-light) 100%);
    color: var(--mcm-white);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 0 0 1.5rem 0;
    animation: slideDown 0.5s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.byogb-product-page form.cart .product_totals ul li.wcgfpa_grand_total {
    border: unset;
    padding: 20px !important;
    margin: 0;
}

/* Fix: Product totals UL should not use grid */
.byogb-product-page .product_totals .gform_fields,
.byogb_wrapper .product_totals .gform_fields {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.byogb-product-page .product_totals .gfield,
.byogb_wrapper .product_totals .gfield {
    display: none !important;
}

.byogb-product-page .product_totals .wcgfpa_grand_total,
.byogb_wrapper .product_totals .wcgfpa_grand_total {
    display: block !important;
}

.byogb-product-page .product_totals .wcgfpa_grand_total .price,
.byogb_wrapper .product_totals .wcgfpa_grand_total .price {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-family: 'Luckiest Guy', sans-serif;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mcm-white) !important;
}

.byogb-product-page .product_totals .formattedTotalPrice,
.byogb-product-page .product_totals .ginput_total,
.byogb_wrapper .product_totals .formattedTotalPrice,
.byogb_wrapper .product_totals .ginput_total {
    font-size: 2rem !important;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: var(--mcm-white) !important;
    display: inline-block !important;
    visibility: visible !important;
}

/* Ensure all totals elements are visible */
.byogb-product-page .product_totals,
.byogb-product-page .product_totals ul,
.byogb-product-page .product_totals li,
.byogb-product-page .product_totals .price,
.byogb-product-page .product_totals span,
.byogb_wrapper .product_totals,
.byogb_wrapper .product_totals ul,
.byogb_wrapper .product_totals li,
.byogb_wrapper .product_totals .price,
.byogb_wrapper .product_totals span {
    visibility: visible !important;
    opacity: 1 !important;
}

/* ========================================
   Form Body & Fields Container
   ======================================== */
.byogb_wrapper .gform_body {
    background: unset;
}

/* Let Gravity Forms handle the layout - just clear list styles */
.byogb_wrapper .gform_body > .gform_fields {
    padding: 0;
    list-style: none;
    margin: 0;
}

/* Mobile: Force all fields to full width (1 column) */
.byogb_wrapper .gfield {
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

/* Sections always full width */
.byogb_wrapper .gsection {
    width: 100% !important;
    clear: both !important;
}

/* ========================================
   Section Headers (Jerky, Fish Spread, etc.)
   ======================================== */
.byogb_wrapper .gsection {
    background: linear-gradient(135deg, var(--mcm-dark) 0%, #555555 100%);
    color: var(--mcm-white);
    padding: 1rem 1.5rem;
    margin: 2.5rem 0 0 0;
    border-radius: var(--mcm-border-radius) var(--mcm-border-radius) 0 0;
    position: relative;
    overflow: hidden;
}

.byogb_wrapper .gsection:first-of-type {
    margin-top: 0;
}

.byogb_wrapper .gsection:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mcm-primary), var(--mcm-secondary), var(--mcm-primary));
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

.byogb_wrapper .gsection_title,
.byogb_wrapper h3.gsection_title {
    font-family: 'Luckiest Guy', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin: 0;
    padding: 20px 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: var(--mcm-white);
}

/* Section counter styling */
.byogb_wrapper .section-counter {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0 20px;
}

.byogb_wrapper .section-counter .selected-count {
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================================
   Product Grid Layout
   ======================================== */
.byogb_wrapper .gfield--width-quarter {
    width: 100% !important;
    float: none !important;
}

.byogb_wrapper .gfield--width-full {
    width: 100% !important;
    float: none !important;
}

/* Ensure HTML fields with images are visible */
.byogb_wrapper .gfield--type-html {
    display: block !important;
}

/* Create visual grouping for product rows */
.byogb_wrapper .gfield--type-html + .gfield--type-product,
.byogb_wrapper .gfield--type-html + .gfield--type-product ~ .gfield--type-product {
    background: var(--mcm-white);
}

/* Alternate row backgrounds */
.byogb_wrapper .byogb-bg-1 {
    background: var(--mcm-light-gray) !important;
}

/* ========================================
   Product Circle Images
   ======================================== */
.byogb_wrapper .gfield--type-html {
    text-align: center;
    padding: 1rem 0.5rem;
}

.byogb_wrapper .gfield--type-html .byo-circle {
    width: 100%;
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: var(--mcm-transition);
}

.byogb_wrapper .gfield--type-html:hover .byo-circle {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15));
}

/* ========================================
   Product Cards
   ======================================== */
.byogb_wrapper .gfield--type-product {
    border: 2px solid var(--mcm-border);
    border-radius: var(--mcm-border-radius);
    padding: 1rem;
    margin: 0.75rem 0;
    background: var(--mcm-white);
    transition: var(--mcm-transition);
    position: relative !important;
    overflow: visible !important;
}

.byogb_wrapper .gfield--type-product:hover {
    border-color: var(--mcm-primary);
    box-shadow: var(--mcm-shadow-hover);
    transform: translateY(-2px);
}

.byogb_wrapper .gfield--type-product.has-quantity {
    border-color: var(--mcm-secondary);
    background: linear-gradient(135deg, rgba(105,172,67,0.05) 0%, rgba(105,172,67,0.02) 100%);
    box-shadow: 0 4px 20px rgba(105,172,67,0.2);
}

.byogb_wrapper .gfield--type-product.has-quantity:before {
    content: '✓';
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--mcm-secondary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: popIn 0.3s ease;
    z-index: 10;
}

/* ========================================
   Product Labels & Pricing
   ======================================== */
.byogb_wrapper .gfield_label_product {
    font-family: 'Luckiest Guy', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--mcm-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    word-break: normal !important;
}

.byogb_wrapper span.gform-field-label.gfield_label_product {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-transform: capitalize;
    letter-spacing: 0.03em;
}

.byogb_wrapper .ginput_product_price_wrapper,
.byogb_wrapper .gform_wrapper.gravity-theme .ginput_product_price_wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(180,54,39,0.05) 0%, rgba(180,54,39,0.02) 100%);
    border-radius: 8px;
    border-left: 3px solid var(--mcm-primary);
}

.byogb_wrapper .ginput_product_price_label {
    font-weight: 600;
    color: var(--mcm-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.byogb_wrapper .ginput_product_price {
    font-family: 'Luckiest Guy', sans-serif;
    font-size: 1.6rem;
    color: var(--mcm-primary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.byogb_wrapper .gform_wrapper.gravity-theme .ginput_product_price,
.byogb_wrapper .gform_wrapper.gravity-theme .ginput_shipping_price {
    color: #900;
    font-size: 22px;
}

/* ========================================
   Quantity Input Controls
   ======================================== */
.byogb_wrapper .ginput_quantity_label {
    font-weight: 600;
    color: var(--mcm-dark);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.byogb_wrapper .ginput_quantity {
    width: 100%;
    max-width: 100%;
    padding: 0.875rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--mcm-border);
    border-radius: 8px;
    background: var(--mcm-white);
    color: var(--mcm-dark);
    transition: var(--mcm-transition);
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
    box-sizing: border-box;
}

.byogb_wrapper .ginput_quantity::-webkit-outer-spin-button,
.byogb_wrapper .ginput_quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.byogb_wrapper .ginput_quantity:focus {
    outline: none;
    border-color: var(--mcm-primary);
    box-shadow: 0 0 0 3px rgba(180,54,39,0.1);
    background: #fff;
}

.byogb_wrapper .ginput_quantity:not([value=""]):not([value="0"]) {
    border-color: var(--mcm-secondary);
    background: linear-gradient(135deg, rgba(105,172,67,0.1) 0%, rgba(105,172,67,0.05) 100%);
    color: var(--mcm-secondary);
}

/* ========================================
   Dividers
   ======================================== */
.byogb_wrapper .byogb-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mcm-border), transparent);
    margin: 1.5rem 0;
    opacity: 0.5;
}

/* ========================================
   Tablet Responsive (640px to 979px) - 2 Column Layout
   ======================================== */
@media (min-width: 640px) and (max-width: 979px) {
    .byogb_wrapper {
        padding: 2rem;
    }

    /* Use Gravity Forms grid system: span 6 of 12 columns = 50% = 2 columns */
    .gform_wrapper.gravity-theme .gfield.gfield--width-quarter,
    .gform_wrapper.gravity-theme .gfield.gfield--width-third {
        grid-column: span 6;
    }

    .byogb_wrapper .gfield--type-html .byo-circle {
        max-width: 120px;
        margin: 1rem auto;
    }

    .byogb-product-page .product_totals,
    .byogb_wrapper .product_totals {
        top: 120px;
    }
}

@media (min-width: 640px) {
    .byogb_wrapper {
        padding: 2rem;
    }
}

/* ========================================
   Desktop Responsive (980px+) - 4 Column Layout
   ======================================== */
@media (min-width: 980px) {
    /* 4 columns at desktop: 25% width for quarter-width fields (GF default) */
    .byogb_wrapper .gfield--width-quarter {
        width: 25% !important;
        float: left !important;
        clear: none !important;
    }

    /* Clear every 4th item to create proper rows */
    .byogb_wrapper .gfield--width-quarter:nth-of-type(4n+1) {
        clear: left !important;
    }

    /* Remove the 2-column clear from tablet */
    .byogb_wrapper .gfield--width-quarter:nth-of-type(2n+1) {
        clear: none !important;
    }

    /* But keep the 4-column clear */
    .byogb_wrapper .gfield--width-quarter:nth-of-type(4n+1) {
        clear: left !important;
    }

    .byogb_wrapper .gsection {
        margin-top: 3rem;
    }

    .byogb_wrapper .gsection:first-of-type {
        margin-top: 0;
    }

    .byogb-product-page .product_totals .price,
    .byogb_wrapper .product_totals .price {
        font-size: 2rem;
    }

    .byogb-product-page .product_totals .formattedTotalPrice,
    .byogb_wrapper .product_totals .formattedTotalPrice {
        font-size: 2.5rem;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   Loading States
   ======================================== */
.byogb_wrapper .gform_wrapper.gform_wrapper_ajax_loading,
.byogb-product-page .gform_wrapper.gform_wrapper_ajax_loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .byogb_wrapper .product_totals,
    .byogb-product-page .product_totals {
        position: relative;
        top: auto;
    }

    .byogb_wrapper .gfield--type-product {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .byogb_wrapper .gfield--type-product:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ========================================
   Accessibility Improvements
   ======================================== */
.byogb_wrapper .gfield_label,
.byogb_wrapper .ginput_quantity_label,
.byogb_wrapper .ginput_product_price_label {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.byogb_wrapper .ginput_quantity:focus-visible,
.byogb_wrapper .gfield--type-product:focus-within {
    outline: 3px solid var(--mcm-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .byogb_wrapper .gfield--type-product {
        border-width: 3px;
    }

    .byogb_wrapper .product_totals,
    .byogb-product-page .product_totals {
        border: 3px solid var(--mcm-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body.dark-mode .byogb_wrapper .gfield--type-product {
        background: #2a2a2a;
        border-color: #444;
        color: #e0e0e0;
    }

    body.dark-mode .byogb_wrapper .gfield_label_product {
        color: #fff;
    }

    body.dark-mode .byogb_wrapper .ginput_quantity {
        background: #333;
        border-color: #555;
        color: #fff;
    }
}

/* ========================================
   Additional Gravity Forms Overrides
   ======================================== */

/* Ensure proper box-sizing */
.byogb_wrapper *,
.byogb_wrapper *:before,
.byogb_wrapper *:after {
    box-sizing: border-box;
}

/* Clear floats */
.byogb_wrapper .gfield:after,
.byogb_wrapper .gform_fields:after {
    content: "";
    display: table;
    clear: both;
}

/* Reset Gravity Forms inline widths */
.byogb_wrapper .gfield--width-quarter,
.byogb_wrapper .gf_list_2col .gfield--width-quarter,
.byogb_wrapper .gf_list_3col .gfield--width-quarter,
.byogb_wrapper .gf_list_4col .gfield--width-quarter {
    width: 100% !important;
    float: none !important;
    clear: none !important;
}

/* Ensure images load properly */
.byogb_wrapper .byo-circle {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Global Layout Fixes
   ======================================== */

/* Ensure all text displays horizontally */
.byogb_wrapper * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* Fix any absolute positioning issues */
.byogb_wrapper .gform_wrapper {
    position: relative;
    width: 100%;
}

/* Ensure proper container widths */
.byogb_wrapper,
.byogb_wrapper .gform_wrapper,
.byogb_wrapper .gform_body {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Clean up any floating elements */
.byogb_wrapper .gfield:after,
.byogb_wrapper .gform_wrapper:after {
    content: "";
    display: table;
    clear: both;
}

/* Remove any unwanted absolute positioning - but NOT from product_totals which needs to be sticky */
.byogb_wrapper .product_totals,
.byogb-product-page .product_totals {
    left: auto !important;
    right: auto !important;
    float: none !important;
}

/* Override WooCommerce default 48% width on summary */
.byogb-product-page .summary.entry-summary,
.byogb-product-page div.product div.summary,
.woocommerce.byogb-product-page div.product div.summary,
.woocommerce-page.byogb-product-page div.product div.summary,
.woocommerce.byogb-product-page #content div.product div.summary,
.woocommerce-page.byogb-product-page #content div.product div.summary {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
}

/* Also fix the images container */
.byogb-product-page div.product div.images,
.woocommerce.byogb-product-page div.product div.images,
.woocommerce-page.byogb-product-page div.product div.images {
    width: 100% !important;
    float: none !important;
}

/* ========================================
   Custom Template Styles
   ======================================== */

.byogb-product-page {
    background: var(--mcm-white);
}

.byogb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Product Header Section */
.byogb-product-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--mcm-border);
}

.byogb-product-images {
    text-align: center;
}

.byogb-product-images img {
    max-width: 100%;
    height: auto;
    border-radius: var(--mcm-border-radius);
    box-shadow: var(--mcm-shadow);
}

.byogb-product-intro h1 {
    font-family: 'Luckiest Guy', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--mcm-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.byogb-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--mcm-gray);
    margin-bottom: 1.5rem;
}

.byogb-features {
    background: linear-gradient(135deg, rgba(105,172,67,0.1), rgba(105,172,67,0.05));
    padding: 1.5rem;
    border-radius: var(--mcm-border-radius);
    border-left: 4px solid var(--mcm-secondary);
}

.byogb-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.byogb-features li {
    font-size: 1rem;
    color: var(--mcm-dark);
    padding: 0.5rem 0;
    font-weight: 600;
}

/* Instructions Section */
.byogb-instructions {
    background: linear-gradient(135deg, var(--mcm-light-gray), #fff);
    padding: 2rem;
    border-radius: var(--mcm-border-radius);
    margin-bottom: 3rem;
    box-shadow: var(--mcm-shadow);
}

.byogb-instructions h2 {
    font-family: 'Luckiest Guy', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--mcm-dark);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.byogb-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.byogb-step {
    background: var(--mcm-white);
    padding: 1.5rem;
    border-radius: var(--mcm-border-radius);
    border: 2px solid var(--mcm-border);
    text-align: center;
    transition: var(--mcm-transition);
    position: relative;
}

.byogb-step:hover {
    border-color: var(--mcm-primary);
    transform: translateY(-3px);
    box-shadow: var(--mcm-shadow-hover);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--mcm-primary), var(--mcm-primary-light));
    color: var(--mcm-white);
    font-family: 'Luckiest Guy', sans-serif;
    font-size: 1.8rem;
    line-height: 50px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(180, 54, 39, 0.3);
    margin: auto;
    line-height: 60px;
}

.byogb-step h3 {
    font-family: 'Luckiest Guy', sans-serif;
    font-size: 1.4rem;
    color: var(--mcm-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.byogb-step p {
    color: var(--mcm-gray);
    line-height: 1.6;
    margin: 0;
}

/* Form Section */
.byogb-form-section {
    margin-bottom: 3rem;
}

/* Additional Info Section */
.byogb-additional-info {
    margin-top: 3rem;
}

/* Hide default WooCommerce elements that don't apply */
.byogb-product-page .product_meta,
.byogb-product-page .woocommerce-product-details__short-description,
.byogb-product-page .related.products,
.byogb-product-page .upsells.products,
.byogb-product-page section.related,
.byogb-product-page section.upsells {
    display: none !important;
}

/* Hide default WooCommerce price in summary */
.byogb-form-section .summary > p.price {
    display: none;
}

/* Tablet Responsive */
@media (min-width: 640px) {
    .byogb-container {
        padding: 3rem 2rem;
    }

    .byogb-product-header {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

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

    .byogb-step {
        min-height: 250px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* Desktop Responsive */
@media (min-width: 980px) {
    .byogb-product-header {
        grid-template-columns: 2fr 3fr;
    }
}
