@charset "UTF-8";

/* ==========================================================================
   Product Page CSS
   ========================================================================== */

/* Hero
   ----------------------------------------------------------------- */
.p-prod-hero {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    margin-bottom: 0;
}

.p-prod-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.p-prod-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-prod-hero__content {
    z-index: 1;
}

.p-prod-hero__title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.p-prod-hero__text {
    font-size: 1.2rem;
}

/* Anchor Navigation (Black Bar with Diagonal Link)
   ----------------------------------------------------------------- */
.p-prod-nav {
    background-color: #1D58CE;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.p-prod-nav__inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
    position: relative;
}

.p-prod-nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.p-prod-nav__item a {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    transition: color 0.3s;
}

.p-prod-nav__item a:hover {
    color: var(--color-label-green);
}

/* Diagonal Green Link Button */
.p-prod-nav__buy {
    background-color: var(--color-label-green);
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px 0 60px;
    /* Extra padding left for the slope */
    font-size: 16px;
    position: relative;
    margin-right: -20px;
    /* Extend to edge of container padding provided by l-container inside? No, l-container has padding. Let's adjust. */
    height: 100%;

    /* Diagonal Slope Logic */
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0% 100%);
    transition: opacity 0.3s;
}

.p-prod-nav__buy:hover {
    opacity: 0.9;
    color: #fff;
}

.p-prod-nav__buy i {
    margin-left: 10px;
}

/* Sections
   ----------------------------------------------------------------- */
.p-prod-section {
    padding: 80px 0;
    max-width: 1200px;
    margin: auto;
}

.p-prod-section--bg-gray {
    background-color: #f9f9f9;
    /* Escape container width for background? 
       Usually requires utility or specific wrapper. 
       For this layout, if .l-container wraps everything, specific full-width backgrounds need:
       width: 100vw; margin-left: calc(50% - 50vw);
    */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    /* Compensate padding inside */
    padding-right: calc(50vw - 50%);
}

.p-prod-section__head {
    text-align: center;
    margin-bottom: 60px;
}

.p-prod-section__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    font-family: sans-serif;
    /* English font look */
}

.p-prod-section__sub {
    font-size: 1rem;
    color: #666;
    position: relative;
    display: inline-block;
}

.p-prod-section__sub::after {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-label-green);
    margin: 10px auto 0;
}

/* Product Grid
   ----------------------------------------------------------------- */
.p-prod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.c-prod-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    padding: 0 0 20px 0;
    transition: box-shadow 0.3s;
}

.c-prod-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.c-prod-card__img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f5f5f5;
    margin-bottom: 20px;
    overflow: hidden;
}

.c-prod-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.c-prod-card:hover .c-prod-card__img img {
    transform: scale(1.05);
}

.c-prod-card__body {
    padding: 0 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c-prod-card__title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.c-prod-card__price {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.c-prod-card__desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.c-button--product {
    margin-top: auto;
    width: 100%;
    background: #333;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.c-button--product:hover {
    background-color: var(--color-primary);
}

/* Info Section (First Time Guide, Reviews & FAQ)
   ----------------------------------------------------------------- */
.p-prod-info {
    padding: 80px 0;
    background-color: #f9f9f9;
    /* Full width background trick */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    /* Compensate padding inside */
    padding-right: calc(50vw - 50%);
}

/* First Time Guide */
.p-prod-guide {
    margin-bottom: 80px;
}

.p-prod-guide__title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.p-prod-guide__title i {
    font-size: 1.8rem;
    font-weight: normal;
    /* FontAwesome Regular */
}

.p-prod-guide__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Guide Card */
.c-guide-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow 0.3s;
    color: inherit;
    align-items: stretch;
}

.c-guide-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.c-guide-card__img {
    width: 40%;
    flex-shrink: 0;
    margin: 0;
}

.c-guide-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-guide-card__body {
    width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c-guide-card__title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #666;
}

.c-guide-card__text {
    font-size: 14px;
    line-height: 1.6;
}

/* Reviews & FAQ Grid */
.p-prod-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.p-prod-section__head--icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.p-prod-section__head--icon .p-prod-section__title {
    font-size: 1.5rem;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.p-prod-section__head--icon i {
    font-size: 2rem;
}

/* Info List Container */
.c-info-list {
    background: #fff;
    border: 1px solid #ddd;
    /* padding-bottom: 0; inside button handles inner spacing? No, design shows button inside card at bottom */
}

/* Info Item */
.c-info-item {
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #eee;
}

.c-info-item:last-child {
    border-bottom: none;
}

/* Icons */
.c-info-item__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

/* User Icon (Pink) */
.c-info-item__icon--user {
    border-color: #ffb6b9;
    color: #ffb6b9;
}

/* Q Icon (Blue) */
.c-info-item__icon--q {
    border-color: #87ceeb;
    color: #87ceeb;
    font-weight: bold;
    font-family: sans-serif;
}

/* Body */
.c-info-item__body {
    flex-grow: 1;
}

.c-info-item__head {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 10px;
}

.c-info-item__head--q {
    font-size: 1rem;
    line-height: 1.5;
}

.c-info-item__text {
    font-size: 14px;
    line-height: 1.8;
}

/* Block Button in Card */
.p-prod-info__btn {
    padding: 20px 30px 30px;
    /* Padding inside the card container */
    text-align: center;
    margin-top: 0;
}

.c-button--block-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

.c-button--block-dark:hover {
    opacity: 0.8;
    background-color: #333;
    /* Ensure bg doesn't change if global button hover conflicts */
}

.c-button--block-dark i {
    margin-left: auto;
    /* Push arrow to right? Or just margin */
    margin-left: 10px;
}

/* Banner Section */
.p-prod-banner {
    padding: 60px 0;
    text-align: center;
}

.p-prod-banner__link {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
    transition: opacity 0.3s;
}

.p-prod-banner__link:hover {
    opacity: 0.8;
}

.p-prod-banner__link img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* Contact Section */
.p-prod-contact {
    padding-bottom: 80px;
}

.p-prod-contact__inner {
    border: 2px dotted #ccc;
    padding: 30px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 90%;
    margin: auto;
}

/* Folded Corner Effect (Dog Ear) */
.p-prod-contact__inner::after {
    content: "";
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 24px 0 0 24px;
    border-color: #666 transparent transparent transparent;
    transform: rotate(180deg);
    /* Actually simple triangle overlay corner */
    /* Let's try a different approach to match "folded up" look */
    /* A triangle at bottom right that is "page curl" color */
}

/* Better Fold Effect */
.p-prod-contact__inner::before {
    content: "";
    position: absolute;
    bottom: -2px;
    right: -2px;
    border-width: 0 0 30px 30px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
    /* Mask corner */
    z-index: 1;
}

.p-prod-contact__inner::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: -2px;
    border-width: 15px;
    border-style: solid;
    border-color: #999 transparent transparent #999;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}


.p-prod-contact__item {
    padding: 0 20px;
    flex: 1;
}

.p-prod-contact__item--text {
    flex: 1.2;
    padding-left: 0;
}

.p-prod-contact__item--center {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    text-align: center;
}

.p-prod-contact__item--right {
    text-align: center;
    padding-right: 0;
}

.p-prod-contact__title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.p-prod-contact__desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.p-prod-contact__tel {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.p-prod-contact__tel .mobile-icon {
    font-size: 1.5rem;
    color: var(--color-label-green);
}

.p-prod-contact__shop-text {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Lime Green Button */
.c-button--contact-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-label-green);
    /* Assuming this is lime green defined globally, else #9acd32 */
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    width: 100%;
    max-width: 280px;
    font-size: 13px;
    transition: opacity 0.3s;
}

/* Update color if var is not lime enough. 
   Design image shows a bright yellow-green. 
   Let's check style.css variable later or hardcode image color if needed. 
   Assuming var(--color-label-green) is close. 
   Actually let's use a specific color from image: #aecd12 approx.
*/
.c-button--contact-lime {
    background-color: #add136;
    /* Adjusted to match image */
}

.c-button--contact-lime:hover {
    opacity: 0.8;
    color: #fff;
}

.c-button--contact-lime i {
    margin-right: 8px;
}

.c-button--contact-lime .arrow-icon {
    margin-right: 0;
    margin-left: auto;
}


/* Responsive (SP)
   ----------------------------------------------------------------- */
.p-prod-banner {
    padding: 40px 0;
}

/* Inserted contact styles will fall into mobile media query below? 
   No, I need to add mobile styles explicitly inside the media query block. 
*/
@media (max-width: 767px) {
    /* ... existing SP styles ... */

    .p-prod-info__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .p-prod-guide__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .c-guide-card {
        flex-direction: column;
    }

    .c-guide-card__img,
    .c-guide-card__body {
        width: 100%;
    }

    .c-guide-card__img {
        aspect-ratio: 16/9;
    }

    .p-prod-section__head--left {
        text-align: center;
        justify-content: center;
    }

    .p-prod-section__head--icon .p-prod-section__title {
        justify-content: center;
    }

    .c-info-item {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .c-info-item__icon {
        margin-bottom: 15px;
    }

    .p-prod-hero {
        height: 200px;
    }

    .p-prod-hero__title {
        font-size: 2rem;
    }

    /* Nav Stack */
    .p-prod-nav__inner {
        height: auto;
        flex-direction: column;
        padding: 0;
    }

    .p-prod-nav__list {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        gap: 20px;
    }

    .p-prod-nav__buy {
        width: 100%;
        margin: 0;
        padding: 15px;
        clip-path: none;
        /* Reset slope for SP button */
        justify-content: center;
    }

    /* Grid */
    .p-prod-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .p-prod-section {
        padding: 40px 0;
    }

    .p-prod-banner {
        padding: 40px 0;
    }

    .p-prod-contact {
        padding-bottom: 40px;
    }

    .p-prod-contact__inner {
        flex-direction: column;
        padding: 20px;
        gap: 30px;
    }

    .p-prod-contact__item {
        width: 100%;
        padding: 0;
        text-align: center;
        border: none;
    }

    .p-prod-contact__desc {
        text-align: left;
    }

    .p-prod-contact__item--center {
        border-top: 1px dotted #ccc;
        border-bottom: 1px dotted #ccc;
        padding: 20px 0;
    }
}