/* =========================================
   KANO PRODUCT ACCORDION
========================================= */


/* =========================================
   HIDE DEFAULT TABS
========================================= */

.woocommerce-tabs ul.tabs {
    display: none !important;
}


/* =========================================
   ACCORDION WRAPPER
========================================= */

.kano-product-accordion {
    margin-top: 24px;
}


/* =========================================
   ACCORDION ITEM
========================================= */

.kano-accordion {

    border: 1px solid #ddd5c0;

    border-radius: 10px;

    overflow: hidden;

    margin-bottom: 12px;

    background: #fff;
}


/* =========================================
   ACCORDION HEADER
========================================= */

.kano-acc-head {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 16px 24px;

    cursor: pointer;

    transition: background .25s ease;
}


/* hover */

.kano-acc-head:hover {
    background: #f5f0e7;
}


/* =========================================
   ACCORDION TITLE
========================================= */

.kano-acc-title {

    font-size: 15px;

    font-weight: 600;

    color: #1e1c18;

    line-height: 1.3;
}


/* =========================================
   ACCORDION ICON
========================================= */

.kano-acc-icon {

    flex-shrink: 0;

    font-size: 26px;

    line-height: 1;

    color: #7a7060;

    transition:
        transform .25s ease,
        color .25s ease;
}


/* active */

.kano-acc-icon.active {

    transform: rotate(45deg);

    color: #1e1c18;
}


/* =========================================
   ACCORDION BODY
========================================= */

.kano-acc-body {

    display: none;

    padding: 18px 30px;

    border-top: 1px solid #eee;

    color: #5a5448;
}


/* active */

.kano-acc-body.active {
    display: block;
}


/* =========================================
   TYPOGRAPHY
========================================= */

/* text */

.kano-acc-body p,
.kano-acc-body li {

    font-size: 15px;

    line-height: 1.9;

    font-style: italic;

    color: #5a5448;
}


/* lists */

.kano-acc-body ul,
.kano-acc-body ol {

    padding-left: 22px;

    margin-bottom: 20px;
}

.kano-acc-body li {
    margin-bottom: 10px;
}


/* headings */

.kano-acc-body h2,
.kano-acc-body h3,
.kano-acc-body h4 {

    font-family: "Playfair Display", serif;

    font-size: 42px;

    line-height: 1.1;

    font-style: italic;

    font-weight: 400;

    color: #1e1c18;

    margin-top: 35px;

    margin-bottom: 20px;
}


/* first heading */

.kano-acc-body h2:first-child,
.kano-acc-body h3:first-child {
    margin-top: 10px;
}


/* links */

.kano-acc-body a {

    color: #1e1c18;

    text-decoration: underline;
}


/* strong */

.kano-acc-body strong {

    color: #1e1c18;

    font-weight: 600;
}


/* blockquote */

.kano-acc-body blockquote {

    border-left: 2px solid #c09040;

    padding-left: 18px;

    margin: 25px 0;

    font-style: italic;

    color: #7a7060;
}


/* =========================================
   REMOVE DUPLICATE HEADINGS
========================================= */

.woocommerce-Reviews-title,
.woocommerce-Tabs-panel--description > h2,
.kano-acc-body.active > h2,
.woocommerce-Tabs-panel--additional_information > h2 {
    display: none !important;
}


/* =========================================
   SPACING
========================================= */

.woocommerce-Reviews,
.woocommerce-Tabs-panel--description,
.woocommerce-Tabs-panel--additional_information {
    padding-top: 12px;
}


/* =========================================
   PRODUCT ATTRIBUTES
========================================= */

/* remove title */

.woocommerce-Tabs-panel--additional_information h2 {
    display: none;
}


/* table */

.shop_attributes {

    border: none !important;

    margin-top: 10px;
}


/* rows */

.shop_attributes tr {
    border-bottom: 1px solid #e8e1d5;
}


/* cells */

.shop_attributes th,
.shop_attributes td {

    background: transparent !important;

    border: none !important;

    padding: 16px 0 !important;
}


/* left column */

.shop_attributes th {

    width: 35%;

    font-size: 12px !important;

    text-transform: uppercase;

    letter-spacing: .5px;

    color: #7a7060 !important;

    font-weight: 600;
}


/* right column */

.shop_attributes td {

    font-size: 15px;

    color: #1e1c18;

    font-style: normal;
}


/* remove oceanwp italic */

.shop_attributes td p {

    margin: 0;

    padding: 0;

    font-style: normal !important;
}


/* last row */

.shop_attributes tr:last-child {
    border-bottom: none;
}


/* =========================================
   PDF BUTTON
========================================= */

.kano-pdf-btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    position: relative;

    padding-bottom: 3px;

    font-size: 16px;

    font-style: italic;

    color: #1e1c18 !important;

    text-decoration: none !important;

    transition: .25s ease;
}


/* underline */

.kano-pdf-btn::after {

    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;

    height: 1px;

    background: #c09040;

    transition: .25s ease;
}


/* icon */

.kano-pdf-btn::before {

    content: '↘';

    font-size: 15px;

    color: #c09040;
}


/* hover */

.kano-pdf-btn:hover {
    color: #c09040 !important;
}

.kano-pdf-btn:hover::after {
    width: 70%;
}


/* =========================================
   VIDEO GALLERY
========================================= */

.kano-video-gallery {

    display: flex !important;

    gap: 24px !important;

    overflow-x: auto !important;

    overflow-y: hidden !important;

    padding: 10px 0 24px !important;

    scrollbar-width: none !important;

    -webkit-overflow-scrolling: touch;
}


/* hide scrollbar */

.kano-video-gallery::-webkit-scrollbar {
    display: none;
}


/* =========================================
   VIDEO WRAPPER
========================================= */

.kano-video-gallery .responsive-video-wrap {

    position: relative !important;

    flex: 0 0 auto !important;

    width: 300px !important;

    height: 533px !important;

    max-width: none !important;

    padding-bottom: 0 !important;

    overflow: visible !important;

    border-radius: 22px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


/* =========================================
   VIDEO IFRAME
========================================= */

.kano-video-gallery .responsive-video-wrap iframe {

    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;

    height: 100% !important;

    border: none !important;

    border-radius: 22px !important;

    overflow: hidden;

    background: #000;

    box-shadow:
        0 12px 35px rgba(0,0,0,.12) !important;

    transition:
        transform .35s ease,
        box-shadow .35s ease !important;
}


/* hover */

.kano-video-gallery .responsive-video-wrap:hover iframe {

    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.18) !important;
}


/* reset */

.kano-video-gallery p {
    margin: 0 !important;
}


/* accordion spacing */

.kano-acc-body:has(.kano-video-gallery) {

    overflow: visible !important;

    padding-top: 28px !important;

    padding-bottom: 28px !important;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .kano-acc-head {

        padding: 15px 18px;
    }

    .kano-acc-body {

        padding: 16px 18px;
    }

    .kano-acc-title {

        font-size: 14px;
    }

    .kano-acc-icon {

        font-size: 22px;
    }

    .kano-acc-body h2,
    .kano-acc-body h3,
    .kano-acc-body h4 {

        font-size: 32px;

        margin-top: 28px;

        margin-bottom: 18px;
    }

    .kano-video-gallery {

        gap: 16px !important;

        padding-bottom: 18px !important;
    }

    .kano-video-gallery .responsive-video-wrap {

        width: 230px !important;

        height: 408px !important;

        border-radius: 18px;
    }

    .kano-video-gallery .responsive-video-wrap iframe {

        border-radius: 18px !important;
    }

}