/**
 * Product Detail Page
 * @author Daniela Alves
 * @version 1.0.0
 * @since 2025-12-22
 */

:root {
  --ac-primary-colour: #F58732;
  --ac-secondary-colour: #0F6139;
}

.ac-details-row > .col {
    padding: 0;
}

.ac-details-row > .col:last-child {
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25);
    padding-bottom: 68px;
}

.ac-details-row > .col:last-child > .col-inner {
    height: 100%;
}

.ac-product-details .ac-badges--container .col-inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -moz-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 8px;
    padding: 0 0 12px;
    flex-wrap: wrap;
}

.ac-product-details .ac-badge {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    min-width: 56px;
    padding: 5px 10px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: var(--ac-primary-colour);
    color: #0A0A0A;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 120%;
    vertical-align: middle;
    width: fit-content;
}

.ac-product-details .ac-badge.ac-badge--sale {
    background: #0F6139;
    color: #fff;
}

.ac-product-details .product-logo {
    width: 237px;
    height: 53px;
    aspect-ratio: 237/53;
}
 
.ac-product-details .product-title-container .product-title {
    color: var(--ac-primary-colour);
    font-size: 32px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 0 0 18px 0;
    padding: 0;
    text-align: left;
}

.ac-product-details .ac-price-container {
    margin-bottom: 24px;
}

.ac-product-details .product-price-container .ac-price {
    color: #767676;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-transform: uppercase;
    letter-spacing: 0;
    font-family: 'Bebas Neue', sans-serif;
    display: flex;
}
.ac-product-details .product-price-container .ac-price .price-on-sale {
    margin: 0;
}
.ac-product-details .product-price-container .ac-price .price-on-sale del .woocommerce-Price-amount {
    font-size: 30px;
}

.ac-product-details .product-price-container .ac-price .price-on-sale del:before {
    content: 'WAS';
    margin-right: 2px;
}

.ac-product-details .product-price-container .ac-price .price-on-sale ins:before {
    content: 'NOW';
    color: var(--ac-secondary-colour);
    margin-right: 2px;
}

.ac-product-details .product-price-container .ac-price .price-on-sale ins .woocommerce-Price-amount {
    font-size: 30px;
    color: var(--ac-secondary-colour);
}

.ac-product-details .finprice .amount_pw {
    color: var(--ac-secondary-colour);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    padding: 0;
}
.ac-product-details .finprice .amount_pw span {
    white-space: nowrap;
}

.ac-product-details .finprice .amount_pw i {
    font-style: normal;
    font-size: 30px;
}

.ac-product-details .ac-extras-container ul {
    list-style: none;
    margin: 24px 0 0 0;
}

.ac-product-details .ac-extras-container ul li {
    margin: 0 0 8px 0;
}

.ac-product-details .ac-extras-container ul li span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    color: #0A0A0A;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.ac-product-details .ac-extras-container ul li.ac-extras-item__highlight span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    line-height: 120%;
}
.ac-product-details .ac-extras-container ul li.ac-extras-item__highlight svg {
    position: relative;
    top: -2px;
}

.ac-product-details ul li.ac-li-extras-see-more {
    margin: 16px 0 24px 0;
}
.ac-product-details .ac-li-extras-see-more a {
    color: #0A0A0A;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-decoration: underline;
}

.ac-product-details .ac-brochure-cta a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 13px 4px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #0A0A0A;
    background-color: #fff;
    margin: 0;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    min-height: 40px;
    margin: 0 !important;
}

.ac-product-details .ac-brochure-cta a span {
    color: #0A0A0A !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.ac-product-details .ac-enquire-now-cta a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 13px 4px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    border-radius: 8px;
    background-color: #F58732 !important;
    border-color: #F58732;
    margin: 0;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    min-height: 40px;
    margin-left: 0 !important;
    margin: 0 !important;
}

.ac-product-details .ac-enquire-now-cta a span {
    color: #0A0A0A !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}


.ac-product-details .ac-finance-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #DBE1D2;
    padding-top: 15px;
    padding-bottom: 15px;
}

.ac-product-details .ac-finance-content__header h2 {
    color: #0A0A0A;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 0;
}

.ac-product-details .ac-finance-content__link {
     display: flex;
    justify-content: center;
    align-items: center;
}

.ac-product-details .ac-finance-content__link a {
    color: #0A0A0A;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    -webkit-text-decoration: underline;
    text-decoration: underline;
}

.ac-product-details .ac-finance-content__link:after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10' fill='none'%3E%3Cpath d='M0.75 0.5L5.25 5L0.75 9.5' stroke='%230A0A0A' stroke-width='0.964286' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    width: 8px;
    height: 9px;
    display: inline-block;
    margin-left: 8px;
}

.ac-product-details .ac-finance-content .ac-finance-content__body,
.ac-product-details .ac-finance-content p {
    color: #474747;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
    flex: 0 1 100%;
}

.ac-product-details .ac-finance-content.ac-finance-content--ready-to-buy .add-to-cart-container form {
    padding: 0 !important;
    margin: 0;
}

.ac-product-details .ac-finance-content.ac-finance-content--ready-to-buy .quantity {
    display: none;
}

.ac-product-details .ac-finance-content.ac-finance-content--ready-to-buy  .single_add_to_cart_button {
    color: #0A0A0A;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    letter-spacing: 0;
    min-height: auto;
    display: block !important;
}

.ac-product-details .ac-finance-content.ac-finance-content--ready-to-buy  .single_add_to_cart_button:hover {
    background-color: transparent;
    box-shadow: none;
}

/* tabs */
.ac-tabs > ul.tabs {
    background: #474747;
    background: var(--Colours-Neutral-900-Grey, #474747);
    overflow: auto;
    overflow-y: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    padding: 0 24px;
    gap: 16px;
    height: 62px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-overflow-style: none;
}

.ac-tabs > ul.tabs>li {
    line-height: 120%;
}

.ac-tabs > ul.tabs >li a {
    color: #FFF;
    color: var(--Colours-Neutral-White, #FFF);
    font-family: 'Bebas Neue', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    white-space: nowrap;
    margin: 0;
    background-color: transparent !important;
    border-radius: 0;
    padding: 0;
    font-size: 20px;
}

.ac-tabs > ul.tabs>li.active a {
    color: #F58732;
    color: var(--Colours-Primary-Primary-1, #F58732);
}

.ac-tabs > .nav-tabs + .tab-panels {
    padding: 0;
}

.ac-tabs > .nav-tabs + .tab-panels .woocommerce-Tabs-panel.active:not(#tab-acf_product_content) {
    padding: 30px;
}

.ac-tabs.woocommerce-tabs {
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.ac-tabs #tab-acf_product_content .section.dark {
    color: rgb(0, 0, 0);
    background-color: rgba(40, 40, 40, 0.047);
}

.ac-tabs #tab-acf_product_content .section.dark * {
    color: rgb(0, 0, 0);
}

/* end tabs */

/* gallery images  */

.ac-product-gallery .grid-item.is-hidden {
    display: none;
}

.ac-product-gallery .ac-view-more {
    color: var(--Colours-Neutral-Black-texts, #0A0A0A);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    display: flex;
    height: 40px;
    padding: 10px 24px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: initial;
    border-radius: var(--Rounded-corners-M, 8px);
    border: 1px solid var(--Colours-Neutral-Black-texts, #0A0A0A);
    margin: 40px auto;
}

.ac-product-gallery .product-gallery-slider img, 
.ac-product-gallery .product-thumbnails img {
    width: 100% !important;
    height: 100%;
}

.ac-product-gallery .product-gallery-stacked-thumbnails {
    display: none;
}


.ac-fullscreen .pswp__top-bar {
    background: #F1F1F1 !important;
}

.ac-fullscreen .pswp__top-bar .pswp__counter {
    color: #767676;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    margin-inline-end: initial;
}

.ac-fullscreen .pswp__top-bar button {
    filter: invert(100%);
    -webkit-filter: invert(100%);
}

.ac-fullscreen .pswp__top-bar button.pswp__button--fs {
    margin-inline-end: auto;
}

.ac-fullscreen .ac-pswp-counter__current {
    font-weight: 700;
    color: #0A0A0A;
}

.ac-fullscreen .pswp__button.pswp__button--arrow--right:before,
.ac-fullscreen .pswp__button.pswp__button--arrow--left:before {
    width: 44px;
    height: 40px;
    padding: 10px 8px;
    background-color: #FFF !important;
    border-radius: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='12' viewBox='0 0 29 12' fill='none'%3E%3Cpath d='M28.5303 6.79717C28.8232 6.50428 28.8232 6.02941 28.5303 5.73651L23.7574 0.963543C23.4645 0.670649 22.9896 0.670649 22.6967 0.963543C22.4038 1.25644 22.4038 1.73131 22.6967 2.0242L26.9393 6.26684L22.6967 10.5095C22.4038 10.8024 22.4038 11.2773 22.6967 11.5701C22.9896 11.863 23.4645 11.863 23.7574 11.5701L28.5303 6.79717ZM0 6.26685L6.55671e-08 7.01685L28 7.01684L28 6.26684L28 5.51684L-6.55671e-08 5.51685L0 6.26685Z' fill='%230A0A0A'%3E%3C/path%3E%3C/svg%3E");
    background-size: initial;
    background-position: center;
}

.ac-fullscreen .pswp__button.pswp__button--arrow--left:before {
    transform: rotate(180deg);
}

.ac-fullscreen .pswp__top-bar {
    left: 0;
    right: auto;
}


.ac-gallery-pagination {
  display:flex;
  align-items:center;
  gap:16px;
  padding: 24px 40px 16px 16px;
}

.ac-gallery-pagination__track{
  position:relative;
  height:2px;
  flex:1;
  background:#d9d9d9;
  overflow:hidden;
}

.ac-gallery-pagination__fill{
  position:absolute;
  inset:0;
  background:#0A0A0A;
  transform-origin:left center;
}

.ac-gallery-pagination__count{
  font-family: Roboto, sans-serif;
  font-size:16px;
  font-weight:400;
  color:#767676;
  white-space:nowrap;
}

.ac-gallery-pagination__current{
  font-weight:700;
  color:#0A0A0A;
}

/* end gallery images */
@media screen and (max-width: 849px) {
    .ac-details-row > div.col {
        flex-basis: 100%;
        max-width: 100%
    }
    .ac-details-row > .col:last-child {
       padding-bottom: 17px;
       box-shadow: none;
    }
    .ac-product-details .ac-ctas-desktop {
        display: none;
    }

    section.ac-product-details-container .ac-spacer-static {
        display:none !important;
    }

    section.ac-product-details-container .ac-product-details {
        position: initial !important;
        top: initial  !important;
        left:initial  !important;
        width: initial  !important;
        bottom: initial  !important;
        padding: 8px 16px !important;
    }

    .ac-product-gallery .ac-view-more {
        display: none;
    }

    .ac-product-gallery .ac-view-all {
        display: flex;
        height: 40px;
        width: 40px;
        padding: 0;
        justify-content: center;
        align-items: center;
        background: #FFF;
        color: #0A0A0A;
        font-family: 'Bebas Neue', sans-serif;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        position: absolute;
        bottom: 0;
        border-radius: 24px;
        left: 24px;
        min-height: initial;
    }

    /* Peek next slide in Flickity gallery */
    .ac-product-gallery .flickity-viewport {
    overflow: visible !important; /* allow the next slide to be visible */
    }

    .ac-product-gallery .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
        width: 90% !important; /* adjust: 60% shows more peek, 80% shows less */
        margin-right: 4px; /* gap between slides */
    }

    .ac-fullscreen .pswp__preloader {
        display: none;
    }

    .ac-product-details .ac-ctas-mobile > div {
        padding-bottom: 8px;
    }
}

@media screen and (min-width: 850px) {
    .ac-details-row .row-collapse>.col.ac-product-details {
        max-width: 560px !important;
        padding: 40px 24px 0 40px !important;
    }

    .ac-product-details .product-title-container .product-title {
        font-size: 40px !important;
        margin-bottom: 0;
    }

    .ac-product-details .ac-price-container {
        border-bottom: 1px solid #DBE1D2;
        padding: 16px 0;
        margin-bottom: 16px;
    }

    .ac-product-details .finprice {
        text-align: right;
        position: relative;
        padding-right: 0;
        -webkit-flex-basis: auto;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }

    .ac-product-details .finprice:before {
        content: '';
        background: #DBE1D2;
        height: 80%;
        width: 1px;
        display: inline-block;
        position: absolute;
        left: -14px;
        top: 10%;
    }

    .ac-product-details .ac-extras-container ul {
        margin: 0;
    }
    
    .ac-product-details .ac-extras-container ul li span {
        font-size: 16px;
    }

    .ac-product-details .ac-ctas-mobile {
        display: none;
    }

    .ac-product-details .ac-brochure-cta a,
    .ac-product-details .ac-enquire-now-cta a {
        padding: 10px 4px 8px;
    }

    .ac-product-details .ac-extras-container {
        margin-bottom: 24px;
    }

   .ac-product-details .ac-finance-content {
        display: grid;
        border-top: none;
        border-bottom: 1px solid #DBE1D2;
        padding: 16px 0;
    }
    
    .ac-product-details .ac-finance-content .ac-finance-content__link {
        grid-column: 2;
        grid-row-start: 1;
        grid-row-end: 3;
    }

     .ac-product-gallery .ac-view-all {
        display: none;
    }

    .ac-product-gallery .ac-is-hidden,
    .ac-product-gallery .slider:not(.flickity-enabled) .ac-is-hidden {
        display: none !important;
    }

    .ac-product-gallery .ac-gallery-pagination {
        display: none;
    }


    .ac-tabs > ul.tabs {
        height: 69px;
        gap: 40px;
        margin: 0 auto;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .ac-tabs > ul.tabs >li a {
        font-size: 30px;
    }
}

@media only screen and (min-device-width: 992px) and (max-device-width: 1540px) {
    .ac-tabs #tab-title-description, .ac-tabs #tab-title-specifications, .ac-tabs #tab-title-floor-plan, .ac-tabs #tab-title-videos, .ac-tabs #tab-title-redarc-inverter, .ac-tabs #tab-title-redarc-manager30, .ac-tabs #tab-title-disclaimer, .ac-tabs #tab-title-tent-features, .ac-tabs #tab-title-bonus-inclusions, .ac-tabs #tab-title-upgrade-options {
        padding-bottom: 0 !important;
    }
}

@media only screen and (min-width: 850px) and (max-width: 1080px) {
    .ac-tabs > ul.tabs {
        -webkit-box-pack: start;
        -webkit-justify-content: start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
    }
}

@media only screen and (max-width: 1000px) {
    .ac-tabs.woocommerce-tabs {
        display: block !important;
    }
}




