/* Fans of Pets — Custom WooCommerce Single Product */

.fop-product {
    background: #fff;
    color: #202020;
}

.fop-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* Hero */
.fop-product-hero {
    width: min(1320px, calc(100% - 40px));
    margin: 40px auto 90px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

/* Gallery */
.fop-product-gallery {
    min-width: 0;
}

.fop-product-gallery .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.fop-product-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

/* Summary */
.fop-product-summary {
    position: sticky;
    top: 30px;
    padding-top: 20px;
}

.fop-product-category {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fop-product-category a {
    color: inherit;
    text-decoration: none;
}

.fop-product-title {
    margin: 0 0 16px;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.fop-product-rating {
    margin-bottom: 18px;
}

.fop-product-price {
    margin-bottom: 25px;
    font-size: 25px;
    font-weight: 700;
}

.fop-product-price p.price {
    margin: 0;
}

.fop-product-short-description {
    max-width: 560px;
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

/* Cart */
.fop-product-purchase {
    margin-top: 30px;
}

.fop-product-purchase form.cart {
    margin: 0;
}

.fop-product-purchase .single_add_to_cart_button {
    min-height: 56px;
    padding: 0 32px;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Quantity */
.fop-product-purchase .quantity input.qty {
    min-height: 56px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

/* Variations */
.fop-product-purchase table.variations {
    width: 100%;
    margin-bottom: 25px;
}

.fop-product-purchase table.variations th,
.fop-product-purchase table.variations td {
    display: block;
    width: 100%;
    padding: 0;
}

.fop-product-purchase table.variations th {
    margin-bottom: 10px;
}

.fop-product-purchase table.variations tr {
    display: block;
    margin-bottom: 20px;
}

.fop-product-purchase table.variations label {
    font-weight: 650;
}

/* Benefits */
.fop-product-benefits {
    display: grid;
    gap: 12px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.fop-benefit {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.fop-benefit-icon {
    width: 24px;
}

/* Purpose */
.fop-support-section {
    padding: clamp(70px, 10vw, 140px) 0;
    text-align: center;
}

.fop-support-section .fop-container {
    max-width: 800px;
}

.fop-section-eyebrow {
    display: block;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.fop-support-section h2,
.fop-product-details h2,
.fop-product-specifications h2,
.fop-related-products h2 {
    margin: 0 0 25px;
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

/* Details */
.fop-product-details,
.fop-product-specifications,
.fop-product-extra,
.fop-related-products {
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.fop-product-details .fop-container {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 80px;
}

.fop-details-content {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
}

/* Specifications */
.fop-specification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.fop-specification {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.fop-specification:nth-child(odd) {
    padding-right: 30px;
}

.fop-specification:nth-child(even) {
    padding-left: 30px;
}

.fop-specification-label {
    color: #777;
}

.fop-specification-value {
    font-weight: 600;
}

/* Accordions */
.fop-product-extra details {
    border-bottom: 1px solid #ddd;
}

.fop-product-extra summary {
    position: relative;
    padding: 24px 0;
    font-size: 17px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.fop-product-extra summary::-webkit-details-marker {
    display: none;
}

.fop-product-extra summary::after {
    content: "+";
    position: absolute;
    right: 0;
}

.fop-product-extra details[open] summary::after {
    content: "−";
}

.fop-accordion-content {
    max-width: 750px;
    padding: 0 0 25px;
    color: #666;
    line-height: 1.7;
}

/* Related products */
.fop-related-products ul.products {
    margin-top: 35px;
}

/* Mobile */
@media (max-width: 820px) {
    .fop-container,
    .fop-product-hero {
        width: min(100% - 30px, 1180px);
    }

    .fop-product-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
        margin-bottom: 60px;
    }

    .fop-product-summary {
        position: static;
        padding-top: 0;
    }

    .fop-product-title {
        font-size: 36px;
    }

    .fop-product-details .fop-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .fop-specification-grid {
        grid-template-columns: 1fr;
    }

    .fop-specification:nth-child(odd),
    .fop-specification:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
    }

    .fop-product-details,
    .fop-product-specifications,
    .fop-product-extra,
    .fop-related-products {
        padding: 55px 0;
    }
}
