/* Theme Name: Feel Adventure Custom */

    :root{--navy:#092b49;--teal:#00b9c5;--orange:#f47726;--sand:#f4f0e5;--forest:#315b45;--white:#fff}
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--navy);background:var(--sand)}
    a{color:inherit;text-decoration:none}
    .container{width:min(1180px,calc(100% - 44px));margin:auto}
    .hero{min-height:720px;position:relative;color:#fff;overflow:hidden;background:
      linear-gradient(90deg,rgba(4,28,51,.82) 0%,rgba(4,28,51,.55) 48%,rgba(4,28,51,.12) 100%),
      url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2023/12/feeladventure_slider7.jpg') center/cover}
    .hero:after{content:"";position:absolute;inset:auto 0 -1px;height:90px;background:var(--sand);clip-path:ellipse(65% 48% at 50% 100%)}
    .nav{height:92px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}
    .brand{display:flex;align-items:center;gap:12px;font-family:Montserrat,sans-serif;font-weight:900;line-height:.9;letter-spacing:.5px}
    .brand-mark{width:54px;height:42px;border:4px solid var(--teal);border-right-color:transparent;border-radius:60% 45% 60% 45%;transform:skew(-18deg);position:relative}
    .brand-mark:after{content:"";position:absolute;width:28px;height:16px;border-top:4px solid #fff;border-radius:50%;left:8px;top:9px;transform:rotate(-20deg)}
    .brand span small{display:block;color:var(--teal);font-size:13px;letter-spacing:5px;margin-top:5px}
    .navlinks{display:flex;align-items:center;gap:34px;font-weight:700;font-size:14px}
    .navlinks a:not(.btn):hover{color:#8df4f2}
    .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:16px 25px;background:var(--orange);color:#fff;font-weight:800;letter-spacing:.2px;transition:.2s;box-shadow:0 8px 24px #0002}
    .btn:hover{transform:translateY(-2px);filter:brightness(1.06)}
    .btn.outline{background:transparent;border:2px solid #fff;box-shadow:none}
    .hero-content{position:relative;z-index:1;padding:90px 0 150px;max-width:700px}
    .eyebrow{font-size:12px;font-weight:800;letter-spacing:3px;color:#83f0ee;text-transform:uppercase}
    h1,h2,h3{font-family:Montserrat,Inter,sans-serif}
    h1{font-size:clamp(42px,6vw,76px);line-height:.99;letter-spacing:-2px;margin:18px 0 22px;text-transform:uppercase;font-weight:900}
    .accent{width:150px;height:7px;background:var(--orange);border-radius:100%;transform:rotate(-2deg);margin:0 0 22px}
    .hero-content p{font-size:clamp(17px,2vw,22px);line-height:1.5;max-width:550px;margin:0 0 28px}
    .actions{display:flex;gap:14px;flex-wrap:wrap}
    .highlights{display:flex;gap:28px;margin-top:48px;flex-wrap:wrap}
    .highlight{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700;line-height:1.3}
    .highlight b{font-size:28px;color:var(--teal)}
    .section{padding:78px 0}
    .section-title{text-align:center;margin:0 auto 38px}
    .section-title .eyebrow{color:#008f9c}
    h2{font-size:clamp(30px,4vw,44px);line-height:1.08;text-transform:uppercase;margin:12px 0;color:var(--navy)}
    .section-title p{max-width:650px;margin:12px auto 0;color:#496174;line-height:1.7}
    .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
    .card{background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 12px 35px #092b4912;transition:.25s}
    .card:hover{transform:translateY(-7px);box-shadow:0 20px 45px #092b4924}
    .card-photo{height:230px;position:relative;background-size:cover;background-position:center}
    .card-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#092b4940,transparent 55%)}
    .photo-penguins{background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/slider_2_islote4.jpg'),linear-gradient(135deg,#376b77,#b8d5d1)}
    .photo-boat{background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/1656975293645.jpg'),linear-gradient(135deg,#1b5672,#9bc6c4)}
    .photo-whale{background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/Gallery_slider1.jpg'),linear-gradient(135deg,#164d6c,#80b6c1)}
    .card-body{padding:24px 25px 27px}
    .card-icon{font-size:28px;color:#008f9c}
    .card h3{font-size:20px;margin:8px 0 10px}
    .card p{font-size:14px;line-height:1.65;color:#435a6c;margin:0 0 18px}
    .text-link{font-weight:800;color:#008f9c;font-size:13px;letter-spacing:.5px}
    .boat-section{background:var(--navy);color:#fff;padding:78px 0}
    .split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
    .boat-image{min-height:390px;border-radius:26px;background:
      linear-gradient(0deg,#092b4922,#092b4922),
      url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/slider_2_islote10.jpg') center/cover}
    .boat-section h2{color:#fff}
    .boat-section p{color:#d2e0e8;line-height:1.8}
    .ticks{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:25px 0}
    .ticks span:before{content:"✓";color:var(--teal);font-weight:900;margin-right:9px}
    .place{background:var(--sand)}
    .place-panel{border-radius:26px;padding:48px;background:linear-gradient(120deg,#092b49ed,#092b49a6),url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/Gallery_slider1.jpg') center/cover;color:#fff}
    .place-panel h2{color:#fff;max-width:620px}
    .place-panel p{max-width:660px;line-height:1.8;color:#e3edf2}
    .gallery{display:grid;grid-template-columns:1.2fr 1fr 1fr;grid-template-rows:180px 180px;gap:14px}
    .gallery div{border-radius:18px;background-size:cover;background-position:center}
    .gallery div:first-child{grid-row:span 2;background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/Gallery_slider6-1620x1080.jpg')}
    .gallery div:nth-child(2){background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/Gallery_slider2.jpg')}
    .gallery div:nth-child(3){background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/Gallery_slider5.jpg')}
    .gallery div:nth-child(4){background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/Gallery_slider4.jpg')}
    .gallery div:nth-child(5){background-image:url('https://staging.feeladventurechiloe.cl/wp-content/uploads/2022/09/slider_2_islote10.jpg')}
    .cta{background:var(--teal);padding:58px 0;color:var(--navy);text-align:center}
    .cta h2{margin-top:0}
    .cta p{margin:0 auto 25px;max-width:600px;line-height:1.7}
    .cta .btn{background:var(--navy)}
    footer{background:#061f35;color:#d5e1e8;padding:45px 0}
    .footer-row{display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap;align-items:center}
    footer p{font-size:13px;color:#9eb2c0}
    .wa{position:fixed;right:22px;bottom:22px;z-index:5;background:#20b968;color:white;padding:14px 19px;border-radius:999px;font-weight:800;box-shadow:0 8px 25px #0003}
    @media(max-width:850px){.navlinks{gap:15px}.navlinks a:not(.btn){display:none}.hero{min-height:680px}.hero-content{padding-top:85px}.cards{grid-template-columns:1fr 1fr}.split{gap:28px}.boat-image{min-height:320px}}
    @media(max-width:600px){.container{width:min(100% - 32px,520px)}.nav{height:76px}.brand{font-size:13px}.brand-mark{width:43px;height:34px}.navlinks .btn{padding:12px 15px;font-size:12px}.hero{min-height:720px;background-position:58% center}.hero-content{padding:90px 0 145px}h1{font-size:43px;letter-spacing:-1.5px}.hero-content p{font-size:17px}.actions .btn{width:100%}.highlights{gap:18px;margin-top:34px}.highlight{font-size:12px}.section{padding:58px 0}.cards{grid-template-columns:1fr}.card-photo{height:220px}.split{grid-template-columns:1fr}.boat-image{min-height:250px;order:2}.ticks{grid-template-columns:1fr}.place-panel{padding:30px 24px}.gallery{grid-template-columns:1fr 1fr;grid-template-rows:150px 150px 150px}.gallery div:first-child{grid-row:auto;grid-column:span 2}.footer-row{display:block}.wa{right:14px;bottom:14px}}
  
/* WooCommerce Custom Styles */
.woocommerce div.product { display: flex; gap: 50px; flex-wrap: wrap; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100%; }
@media(min-width:768px) {
    .woocommerce div.product div.images { width: 45%; }
    .woocommerce div.product div.summary { width: calc(55% - 50px); }
}
.woocommerce div.product .product_title { font-family: Montserrat, sans-serif; font-weight: 900; font-size: 32px; color: var(--navy); text-transform: uppercase; line-height: 1.1; margin-top:0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--teal); font-size: 24px; font-weight: 800; font-family: Inter, sans-serif; }
.woocommerce div.product form.cart .button { background: var(--orange); color: #fff; border-radius: 999px; padding: 15px 30px; font-weight: 800; border: none; font-size: 15px; box-shadow: 0 8px 20px #f4772640; transition: .2s; }
.woocommerce div.product form.cart .button:hover { transform: translateY(-2px); filter: brightness(1.05); }
.woocommerce div.product .woocommerce-tabs { margin-top: 50px; }
.woocommerce .quantity input.qty { padding: 10px; border: 2px solid #e3edf2; border-radius: 8px; max-width: 70px; text-align: center; }
.woocommerce nav.woocommerce-breadcrumb { color: #88a3b8; font-size: 13px; margin-bottom: 20px; }
.woocommerce nav.woocommerce-breadcrumb a { color: var(--teal); font-weight: 600; }

.woocommerce-product-gallery { border-radius: 18px; overflow: hidden; }
.woocommerce-product-gallery img { width: 100%; height: auto; display: block; }
.fooevents_date { padding: 15px; background: var(--sand); border-radius: 8px; margin-bottom: 20px; font-weight: 700; color: var(--navy); }
.woocommerce-product-details__short-description { font-size: 15px; color: #435a6c; line-height: 1.7; margin-bottom: 25px; }
table.variations { width: 100%; margin-bottom: 25px; }
table.variations td { padding: 10px 0; }
table.variations select { width: 100%; padding: 12px; border-radius: 8px; border: 2px solid #e3edf2; font-family: Inter, sans-serif; font-size: 14px; }
.woocommerce-variation-price { margin-bottom: 20px; }
.fooevents-date-select { width: 100%; padding: 12px; border-radius: 8px; border: 2px solid #e3edf2; margin-bottom: 20px; }
.single_variation_wrap { background: #fdfbf7; padding: 25px; border-radius: 12px; border: 1px solid #e3edf2; margin-bottom: 25px; }

/* WooCommerce Gallery Fixes */
.woocommerce-product-gallery { opacity: 1 !important; }
/* FlexSlider handles the wrapper */
.woocommerce-product-gallery .flex-control-nav { display: flex; gap: 10px; margin-top: 15px; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.woocommerce-product-gallery .flex-control-nav::-webkit-scrollbar { display: none; }
.woocommerce-product-gallery .flex-control-nav li { flex-shrink: 0; width: 80px; height: 80px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: .2s; }
.woocommerce-product-gallery .flex-control-nav li:hover, .woocommerce-product-gallery .flex-control-nav li img.flex-active { border-color: var(--teal); }
.woocommerce-product-gallery .flex-control-nav li img { width: 100%; height: 100%; object-fit: cover; }
.woocommerce-product-gallery__trigger { position: absolute; top: 15px; right: 15px; background: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.woocommerce-product-gallery__image a img { border-radius: 18px; width: 100%; object-fit: cover; }

.product_meta { display: none !important; }

/* Mobile Form Fixes */
@media (max-width: 768px) {
    .woocommerce div.product form.cart { padding: 10px 0; }
    table.variations { display: block; width: 100%; }
    table.variations tbody, table.variations tr, table.variations td { display: block; width: 100%; }
    table.variations td.label { padding: 0 0 5px 0; font-weight: 700; color: var(--navy); }
    table.variations td.value { padding: 0 0 20px 0; }
    
    .single_variation_wrap { margin-top: 15px; padding: 20px; }
    .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 15px; }
    .woocommerce .quantity { width: 100%; }
    .woocommerce .quantity input.qty { width: 100%; max-width: 100%; height: 50px; font-size: 16px; }
    .woocommerce div.product form.cart .button { width: 100%; height: 50px; font-size: 16px; margin: 0; }
    
    /* FooEvents specific fixes for mobile */
    .fooevents-date-select, .fooevents-time-select, select { height: 50px; font-size: 16px; margin-bottom: 5px; }
    .fooevents_date, .fooevents_time { margin-bottom: 20px !important; }
}


/* Extended Mobile Spacing for FooEvents */
@media (max-width: 768px) {
    p.form-row.fooevents-bookings-date-slot-date, 
    p.form-row.fooevents-bookings-date-slot-slot {
        display: block;
        margin-bottom: 22px !important;
        width: 100%;
    }
    p.form-row.fooevents-bookings-date-slot-date label {
        display: block;
        margin-bottom: 8px;
        font-weight: 700;
        color: var(--navy);
        font-size: 15px;
    }
    .woocommerce-input-wrapper select.select {
        width: 100%;
        height: 52px;
        border-radius: 8px;
        border: 2px solid #e3edf2;
        padding: 0 15px;
        font-size: 16px;
        background: #fff;
    }
    .woocommerce div.product form.cart {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .woocommerce div.product form.cart .quantity {
        margin-bottom: 15px;
    }
    .woocommerce div.product form.cart .button {
        margin-top: 5px;
    }
}


/* Perfect Spacing for Mobile Reservation Form */
@media (max-width: 768px) {
    .woocommerce div.product form.cart { 
        padding: 0 !important; 
    }
    .woocommerce div.product form.cart .variations td.label { 
        display: block; 
        width: 100%; 
        padding-bottom: 8px; 
        font-size: 15px; 
    }
    .woocommerce div.product form.cart .variations td.value { 
        display: block; 
        width: 100%; 
        padding-bottom: 25px; 
    }
    .woocommerce div.product form.cart .woocommerce-variation-add-to-cart { 
        display: flex; 
        flex-direction: column; 
        gap: 20px; /* Force spacing between all items in this wrapper */
        margin-top: 10px;
    }
    /* Fix collapsed p margins */
    p.form-row.fooevents-bookings-date-slot-date, 
    p.form-row.fooevents-bookings-date-slot-slot {
        display: flex;
        flex-direction: column;
        margin: 0 0 5px 0 !important;
        padding: 0 !important;
        width: 100%;
    }
    p.form-row.fooevents-bookings-date-slot-date label {
        margin-bottom: 8px;
    }
    .woocommerce div.product form.cart .quantity, 
    .woocommerce div.product form.cart .button { 
        margin: 0 !important; 
        width: 100% !important; 
    }
    .woocommerce .quantity input.qty { 
        max-width: 100%; 
    }
    /* Increase height of inputs for easier tapping */
    select#tipo,
    .woocommerce-input-wrapper select,
    .woocommerce .quantity input.qty,
    .woocommerce div.product form.cart .button {
        height: 54px !important;
        font-size: 16px !important;
    }
}

/* Botones reserva margin */
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart .button { margin-top: 15px !important; }


/* Checkout & FooEvents Attendees Styles */
.woocommerce-checkout h3 {
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e3edf2;
    padding-bottom: 12px;
}
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
    border: 2px solid #e3edf2;
    border-radius: 8px;
    padding: 12px 15px;
    height: auto;
    min-height: 52px;
    font-size: 15px;
    background: #fcfdfe;
    width: 100%;
}
.woocommerce form .form-row label {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}
.woocommerce-checkout .woocommerce form.checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.woocommerce-checkout #customer_details {
    width: 100%;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    width: 100%;
}

/* FooEvents Specifics */
.fooevents-attendee-details {
    background: #f4f9f9;
    border: 2px solid #d2e8eb;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,185,197,0.05);
}
.fooevents-attendee-details h4 {
    margin-top: 0;
    color: var(--teal);
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fooevents-attendee-details h4::before {
    content: '👤';
    font-size: 22px;
}

/* Order review table */
.woocommerce-checkout #order_review_heading {
    margin-top: 20px;
}
.woocommerce table.shop_table {
    border-collapse: separate;
    border-radius: 12px;
    border: 2px solid #e3edf2;
    overflow: hidden;
    width: 100%;
    margin-bottom: 30px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
    padding: 18px;
    border-bottom: 1px solid #e3edf2;
    text-align: left;
}
.woocommerce table.shop_table th {
    background: #fdfbf7;
    color: var(--navy);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
}
.woocommerce table.shop_table td {
    background: #fff;
    color: #435a6c;
}

/* Payment box */
.woocommerce-checkout-payment {
    background: #fdfbf7 !important;
    border-radius: 16px;
    padding: 30px !important;
    border: 2px solid #e3edf2;
}
.woocommerce-checkout-payment ul.payment_methods {
    border-bottom: 2px solid #e3edf2 !important;
    padding-bottom: 20px !important;
}
.woocommerce-checkout-payment button#place_order {
    background: var(--orange);
    color: #fff;
    border-radius: 999px;
    padding: 18px 30px;
    font-weight: 800;
    font-size: 16px;
    width: 100%;
    box-shadow: 0 8px 20px #f4772640;
    transition: .2s;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}
.woocommerce-checkout-payment button#place_order:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Responsive Checkout */
@media (max-width: 768px) {
    .section .container {
        padding: 25px 20px !important;
        border-radius: 18px !important;
    }
    .fooevents-attendee-details {
        padding: 20px;
    }
    .woocommerce table.shop_table th, .woocommerce table.shop_table td {
        padding: 12px 10px;
        font-size: 14px;
    }
}


.fooevents_checkout_attendees { margin-top: 40px; margin-bottom: 40px; }
.fooevents_checkout_attendees h3 { margin-bottom: 30px; }
.fooevents_custom_attendee_fields { 
    background: #f4f9f9;
    border: 2px solid #d2e8eb;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,185,197,0.05);
}
.fooevents_custom_attendee_fields h4 {
    color: var(--teal);
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px dashed #c6e0e3;
    padding-bottom: 12px;
}

/* Hide native price and qty */
.woocommerce-variation-price, .woocommerce div.product form.cart .quantity, div.quantity { display: none !important; }
