
/*
Theme Name: Paul Hahn Kadence Child
Template: kadence
Description: Custom Kadence child theme for Paul Hahn & Co.
Version: 1.0.0
*/

/* =========================================
   PAUL HAHN — DESIGN COLOURS

   White:        #FFFFFF
   Warm Ivory:   #F6F3ED
   Charcoal:     #30383B
   Body Text:    #55514C
   Muted Gold:   #8C745C
   Divider:      #DDD8D0
   ========================================= */


/* =========================================
   INDIVIDUAL PIANO — PAGE BACKGROUND
   ========================================= */

body.single-inventory,
body.single-inventory #wrapper,
body.single-inventory #inner-wrap {
    background-color: #FFFFFF !important;
}

/* Main content container */

.paul-hahn-inventory {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 40px;
    background-color: #FFFFFF;
    box-sizing: border-box;
}


/* =========================================
   INDIVIDUAL PIANO — MAIN LAYOUT
   ========================================= */

.ph-piano-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    background-color: #FFFFFF;
}

.ph-piano-image,
.ph-piano-details {
    min-width: 0;
}

.ph-piano-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Eyebrow headings */

.paul-hahn-inventory .ph-piano-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8C745C;
    margin: 0 0 16px;
}

/* Piano title */

.ph-piano-details h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.1;
    color: #30383B;
    margin: 0 0 30px;
}

.ph-piano-details p {
    color: #55514C;
    line-height: 1.7;
}


/* =========================================
   INDIVIDUAL PIANO — SPECIFICATIONS
   ========================================= */

.ph-piano-specifications {
    border-top: 1px solid #DDD8D0;
    margin-top: 30px;
}

.ph-piano-spec-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #DDD8D0;
    font-size: 16px;
    line-height: 1.7;
}

.ph-piano-spec-row span {
    color: #8C745C;
}

.ph-piano-spec-row strong {
    color: #55514C;
    font-weight: 400;
}


/* =========================================
   INDIVIDUAL PIANO — PRICING
   ========================================= */

.ph-piano-pricing {
    margin-top: 35px;
}

.ph-piano-price,
.ph-piano-sale-price {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.5;
    color: #8C745C !important;
    margin: 0;
}

.ph-piano-original-price {
    color: #817B74;
    text-decoration: line-through;
    font-size: 17px;
    margin: 0 0 8px;
}


/* =========================================
   INDIVIDUAL PIANO — STORY SECTION
   ========================================= */

.ph-piano-story {
    background-color: #F6F3ED;
    padding: 60px;
    margin-top: 90px;
}

.ph-piano-story h2,
.ph-piano-gallery h2,
.ph-piano-inquiry h2 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.2;
    color: #30383B;
    margin: 0 0 25px;
}

.ph-piano-description {
    font-size: 16px;
    line-height: 1.7;
    color: #55514C;
}

.ph-piano-description p {
    margin-bottom: 18px;
}

.ph-piano-description li {
    margin-bottom: 6px;
}


/* =========================================
   INDIVIDUAL PIANO — PHOTO GALLERY
   ========================================= */

.ph-piano-gallery {
    margin-top: 90px;
    background-color: #FFFFFF;
}

.ph-piano-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.ph-piano-gallery-grid a {
    display: block;
    overflow: hidden;
}

.ph-piano-gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}


/* =========================================
   INDIVIDUAL PIANO — INQUIRY SECTION
   ========================================= */

.ph-piano-inquiry {
    width: 100%;
    max-width: 100%;
    margin: 90px 0 0;
    padding: 60px;
    background-color: #F6F3ED;
    box-sizing: border-box;
}

.ph-piano-inquiry-intro,
.ph-piano-inquiry > p:not(.ph-piano-eyebrow) {
    max-width: 750px;
    font-size: 16px;
    line-height: 1.7;
    color: #55514C;
    margin-bottom: 30px;
}

.ph-piano-inquiry-form {
    max-width: 800px;
    width: 100%;
}


/* =========================================
   INVENTORY CATALOGUE — THREE COLUMN GRID
   ========================================= */

.ph-inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px 28px;
    margin: 50px auto 80px;
    max-width: 1200px;
}

.ph-inventory-card {
    min-width: 0;
}

.ph-inventory-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.ph-inventory-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.ph-inventory-card h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    color: #30383B;
    margin: 20px 0 10px;
}

/* Manufacturer and model */

.ph-piano-manufacturer {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    color: #30383B;
    text-transform: uppercase;
}

.ph-piano-model {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    color: #635D57;
    margin-top: 4px;
}

/* Catalogue pricing */

.ph-inventory-card-price {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #8C745C;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Image hover */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {

    .ph-inventory-card a:hover img {
        transform: scale(1.04);
    }

}


/* =========================================
   INVENTORY CATALOGUE — FILTER
   ========================================= */

.ph-inventory-filter {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 18px;
    padding: 30px 30px 30px;
    margin: 40px 0 30px;
    background: #FFFFFF;
    border-bottom: 1px solid #DDD8D0;
    border-radius: 0;
}

.ph-inventory-filter label {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8C745C;
}

.ph-inventory-filter select {
    min-width: 250px;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #D8D3CB;
    border-radius: 2px;
    color: #30383B;
    font-size: 15px;
}

.ph-inventory-filter button {
    padding: 13px 26px;
    background: #30383B;
    border: 1px solid #30383B;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ph-inventory-filter button:hover {
    background: #8C745C;
    border-color: #8C745C;
}


/* =========================================
   RESPONSIVE — TABLET
   ========================================= */

@media (max-width: 900px) {

    .ph-inventory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */

@media (max-width: 768px) {

    .paul-hahn-inventory {
        padding: 60px 20px;
    }

    .ph-piano-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .ph-piano-details h1 {
        font-size: 36px;
    }

    .ph-piano-spec-row {
        grid-template-columns: 85px minmax(0, 1fr);
        gap: 12px;
    }

    .ph-piano-story,
    .ph-piano-inquiry {
        padding: 35px 25px;
        margin-top: 60px;
    }

    .ph-piano-story h2,
    .ph-piano-gallery h2,
    .ph-piano-inquiry h2 {
        font-size: 30px;
    }

    .ph-piano-gallery {
        margin-top: 60px;
    }

    .ph-piano-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

}

@media (max-width: 600px) {

    .ph-inventory-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .ph-inventory-filter {
        padding: 22px 0 30px;
        align-items: stretch;
    }

    .ph-inventory-filter select,
    .ph-inventory-filter button {
        width: 100%;
        min-width: 0;
    }

}

/* Paul Hahn — Individual Piano White Content Background */

body.single-inventory main.paul-hahn-inventory {
    background-color: #FFFFFF !important;
}

/* =========================================
   PAUL HAHN — PIANO NAVIGATION
   ========================================= */

.ph-piano-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid #DDD8D0;
    border-bottom: 1px solid #DDD8D0;
}

.ph-piano-navigation-top {
    margin-bottom: 40px;
}

.ph-piano-navigation-bottom {
    margin-top: 60px;
}

.ph-piano-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #30383B;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ph-piano-nav-link:hover,
.ph-piano-nav-link:focus {
    color: #8C745C;
}

.ph-piano-nav-next {
    margin-left: auto;
    text-align: right;
}

@media (max-width: 600px) {
    .ph-piano-navigation {
        gap: 12px;
    }

    .ph-piano-nav-link {
        font-size: 11px;
        letter-spacing: 0.5px;
        gap: 6px;
    }
}
/* PAUL HAHN — BACK TO TOP */

.ph-back-to-top {
    text-align: center;
    padding: 50px 0 60px;
}

.ph-back-to-top a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #30383B;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ph-back-to-top a:hover,
.ph-back-to-top a:focus {
    color: #8C745C;
}
/* PAUL HAHN — FAQ ACCORDION REFINEMENT */

body .kt-accordion-header-wrap .kt-blocks-accordion-header {
    padding: 18px 20px;
    border-left: 2px solid transparent;
    transition: border-color 0.2s ease;
}

body .kt-accordion-header-wrap .kt-blocks-accordion-header.kt-accordion-panel-active {
    border-left-color: #8C745C;
}

body .kt-accordion-header-wrap .kt-blocks-accordion-header:hover {
    border-left-color: #8C745C;
}

body .kt-accordion-panel-inner {
    padding: 18px 20px 24px;
    line-height: 1.7;
}
/* PAUL HAHN — FAQ ACTIVE ACCENT */

body .kt-accordion-header-wrap .kt-blocks-accordion-header,
body .kt-accordion-header-wrap .kt-blocks-accordion-header.kt-accordion-panel-active,
body .kt-accordion-header-wrap .kt-blocks-accordion-header.kt-accordion-panel-active:hover {
    border-left: 2px solid #8C745C !important;
}