/*
Theme Name: O2E - Oz to Everest Theme
Theme URI: https://oztoeverest.com.au
Description: A custom WordPress theme
Version: 1.0
Author: Thomas Jacob
Text Domain: oztoeverest
*/

/* Reset and basic styles */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* H2 styling with underline */
h2 {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    position: relative;
    padding-bottom: 1rem;
}



.container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
}


/* .site-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.site-nav a {
    color: white;
    text-decoration: none;
} */

.hero-content {
    width: 100%;
}
/* Main content */
.main-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    /* padding: 2rem 0; */
    min-height: 60vh;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* ============================================
   WooCommerce Product Variations Dropdown
   ============================================ */

   .woocommerce-Price-amount {
    font-size: 1.5rem;
   }
/* Variations table container */
table.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

table.variations tr {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 8px;
    /* padding-bottom: 1.5rem; */
    border-bottom: 1px solid #eee;
}

table.variations tr:last-child {
    border-bottom: none;
}

/* Variation label */
table.variations th.label {
    flex: 0 0 auto;
    padding: 0;
}

table.variations th.label label {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Variation select dropdown */
table.variations td.value {
    flex: 1;
    min-width: 200px;
    padding: 0;
}

table.variations select {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Dropdown hover state */
table.variations select:hover {
    border-color: #999;
    background-color: #f9f9f9;
}

/* Dropdown focus state */
table.variations select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

/* Dropdown disabled state */
table.variations select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Option styling */
table.variations select option {
    padding: 8px;
    background-color: #fff;
    color: #333;
}

table.variations select option:checked {
    background: linear-gradient(#333, #333);
    background-color: #333;
    color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
    table.variations tr {
        flex-direction: column;
        gap: 0.5rem;
    }

    table.variations th.label {
        flex: 0 0 auto;
    }

    table.variations td.value {
        flex: 1;
        min-width: 100%;
    }

    table.variations select {
        max-width: 100%;
    }
}

/* Single variation wrap (price, description, add to cart) */
.single_variation_wrap {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #eee;
}

.single_variation {
    margin-bottom: 1.5rem;
}

.woocommerce-variation-description {
    margin-bottom: 1rem;
    font-size: 14px;
    line-height: 1.6;
}

.woocommerce-variation-price {
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 600;
}

.woocommerce-variation-availability {
    margin-bottom: 1rem;
    font-size: 14px;
}

/* Reset variations link */
a.reset_variations {
    display: none !important;
    visibility: hidden !important;
}

/* ============================================
   Variation Pills (Alternative to Dropdown)
   ============================================ */

.variation-pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.variation-pill {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background-color: #fff;
    color: #333;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.variation-pill:hover {
    border-color: #999;
    background-color: #f5f5f5;
}

.variation-pill:focus {
    outline: 2px solid #333;
    outline-offset: 2px;
}

.variation-pill.is-selected {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.variation-pill.is-selected:hover {
    background-color: #555;
    border-color: #555;
}

/* Responsive pills */
@media (max-width: 768px) {
    .variation-pills-wrapper {
        gap: 8px;
    }

    .variation-pill {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.wp-block-woocommerce-checkout-billing-address-block {
    display: none !important;
}