/* Migrated from single-product.php inline style on 2026-03-27.
   Source kept in template as commented rollback block. */

/* Four-module layout and heading row */
.Items {
    align-items: stretch !important;
}

.Items-list {
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.product-title-share {
    margin-bottom: 10px;
}

.product-title-share h1 {
    margin-bottom: 0;
}

.product-price-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.product-price-share h2 {
    margin: 0;
}

.product-title-share__button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.product-title-share__button img {
    display: block;
}

/* Four-module accordion */
.product-main-description {
    margin: 24px 0 0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.product-main-description__section {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(236, 190, 103, 0.3);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    height: auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

.product-main-description__section summary {
    list-style: none;
    cursor: pointer;
    padding: 9px 22px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.product-main-description__section summary::-webkit-details-marker {
    display: none;
}

.product-main-description__section summary::after {
    content: '+';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0b1720;
    background: #ecbe67;
    font-size: 18px;
    font-weight: 700;
}

.product-main-description__section[open] summary::after {
    content: '-';
}

.product-main-description__section--about[open] summary::before {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 1px;
    background: rgba(169, 169, 169, 0.6);
    pointer-events: none;
}

.product-main-description__body {
    padding: 0 22px 14px;
    border-top: none;
    overflow-wrap: anywhere;
    word-break: break-word;
    height: auto !important;
    min-height: 0 !important;
}

.product-main-description__body p,
.product-main-description__body li {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

.product-main-description__body > *:first-child {
    margin-top: 0;
}

.product-main-description__body ul {
    margin: 0 0 8px;
    padding-left: 20px;
    list-style-type: disc;
    list-style-position: outside;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.product-main-description__body li {
    display: list-item;
    padding-left: 0;
    height: auto !important;
    min-height: 0 !important;
}

.product-main-description__body li:last-child {
    margin-bottom: 0;
}

.product-main-description__body > *:last-child,
.product-main-description__body ul:last-child,
.product-main-description__body ol:last-child,
.product-main-description__body div:last-child,
.product-main-description__body p:last-child,
.product-main-description__body br:last-child {
    margin-bottom: 0;
}

.product-main-description__body ul:last-child li:last-child,
.product-main-description__body ol:last-child li:last-child {
    margin-bottom: 0;
}

.product-main-description__body strong {
    color: #ffffff;
    font-weight: 700;
}

.product-main-description__body ul li::marker {
    color: #ffffff;
    font-size: 1em;
}

.product-main-description__section--scrollable[open] .product-main-description__body {
    max-height: calc(1.8em * 10 + 24px);
    overflow-y: auto;
    padding-right: 14px;
}

.product-main-description__section--included .product-main-description__body p,
.product-main-description__section--included .product-main-description__body li,
.product-main-description__section--guardian .product-main-description__body p,
.product-main-description__section--guardian .product-main-description__body li,
.product-main-description__section--animal-companion .product-main-description__body p,
.product-main-description__section--animal-companion .product-main-description__body li {
    font-size: 14px;
}

.product-main-description__section--about .product-main-description__body {
    padding-top: 10px;
}

/* Purchase panel and input area */
.required,
.start-list {
    width: 100%;
}

.product-purchase-panel {
    margin-top: auto;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 18px;
}

.required p,
.required .form-row,
.required .woocommerce-input-wrapper {
    width: 100%;
}

.required input:not([type="checkbox"]):not([type="radio"]),
.required textarea,
.required select {
    width: 100%;
    min-height: 4.2rem;
    height: 4.2rem;
    box-sizing: border-box;
    margin-right: 0;
    padding-left: 12px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: none;
}

.required input::placeholder,
.required textarea::placeholder {
    color: #A9A9A9;
    opacity: 1;
}

.required b {
    display: block;
    margin-top: 2px;
    padding-left: 12px;
    box-sizing: border-box;
}

.start-list .button,
.start-list button,
.start-list a,
.start-list .single_add_to_cart_button {
    width: 100%;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Mobile overrides migrated from single-product.php inline style */
@media (max-width: 768px) {
    .Items {
        display: block;
    }

    .gallery-container,
    .Items-list {
        width: 100% !important;
        max-width: 100%;
    }

    .gallery-container {
        margin-bottom: 24px;
    }

    .product-main-description {
        gap: 12px;
        overflow: visible;
        overflow-x: visible;
        padding-right: 0;
    }

    .product-price-share {
        gap: 12px;
    }

    .product-main-description__body,
    .product-main-description__section summary {
        padding-left: 16px;
        padding-right: 16px;
    }

    .product-main-description__section summary {
        font-size: 14px;
        padding-top: 15px;
        padding-bottom: 15px;
        gap: 12px;
    }

    .product-main-description__section summary::after {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    .product-main-description__body p,
    .product-main-description__body li {
        font-size: 13px;
        line-height: 1.7;
    }

    .product-main-description__body ul {
        padding-left: 18px;
    }

    .product-main-description__section--scrollable[open] .product-main-description__body {
        max-height: calc(1.7em * 8 + 20px);
        padding-right: 12px;
    }
}
