.kc-gift-product .kc-gift-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "photo heading" "photo purchase";
    gap: 0 clamp(28px, 4vw, 64px);
    position: relative;
}
.kc-gift-product .kc-gift-layout [hidden] { display: none !important; }
.kc-gift-heading { grid-area: heading; align-self: start; }
.woocommerce.kc-gift-product div.product .kc-gift-heading .product_title {
    margin: 0;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.13;
    letter-spacing: -.02em;
}
.kc-gift-heading p {
    color: var(--muted);
    margin: 10px 0 20px;
    max-width: 40ch;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.45;
}
.kc-gift-heading .kc-gift-stock {
    margin: -9px 0 17px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 650;
}
.kc-gift-photo {
    grid-area: photo;
    align-self: start;
    position: relative;
    isolation: isolate;
    margin: 0;
    aspect-ratio: 1.62;
    background: radial-gradient(ellipse at 17% 86%, #705332, transparent 62%), linear-gradient(115deg, #352f29 12%, #1a1c20 85%);
    overflow: hidden;
}
.kc-gift-product .kc-gift-photo .kc-gift-box-photo {
    position: absolute;
    top: 0;
    left: -8%;
    width: 111%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    mask-image: linear-gradient(to right, black 72%, transparent 97%);
}
.kc-gift-akali-photo {
    position: absolute;
    bottom: 6%;
    right: 4%;
    width: 24%;
    height: auto;
    transform: rotate(6deg);
    border-radius: 5%;
    box-shadow: 0 4px 10px #080b0f70;
}
.woocommerce.kc-gift-product div.product .kc-gift-layout .summary {
    grid-area: purchase;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    align-self: start;
}
.kc-gift-product .kc-gift-layout .summary:has(.kc-gift-options-ready) .legal-price-info,
.kc-gift-options-ready .variations,
.kc-gift-options-ready .woocommerce-variation-price { display: none; }
.woocommerce.kc-gift-product div.product .kc-gift-layout .summary form.variations_form {
    display: block;
    margin: 0;
    padding: 0;
}
.kc-gift-options { position: relative; box-sizing: border-box; border: 0; padding: 0; margin: 0; min-width: 0; }
.kc-gift-options legend { color: var(--ink); font-size: 16px; font-weight: 650; padding: 0; margin: 0 0 7px; line-height: 1.4; }
.kc-gift-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.kc-gift-choices .kc-gift-option {
    display: grid;
    gap: 1px;
    padding: 9px 13px;
    text-align: left;
    border: 1px solid #99aeb0;
    box-shadow: none;
    background: #fffbef;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.35;
    cursor: pointer;
}
.kc-gift-choices .kc-gift-option[aria-pressed="true"] {
    border-color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
    background: #def2f7;
}
.kc-gift-choices .amount { font-size: clamp(19px, 1.5vw, 23px); font-weight: 700; }
.kc-gift-option:disabled { opacity: .6; cursor: default; }
.kc-gift-tax { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.kc-gift-product .kc-gift-layout .kc-gift-option-note { font-size: 16px; line-height: 1.4; margin: 8px 0 12px; }
.woocommerce.kc-gift-product div.product .kc-gift-layout form.cart button.kc-gift-buy-disabled:disabled,
.woocommerce.kc-gift-product div.product .kc-gift-layout form.cart a.kc-gift-login,
.woocommerce.kc-gift-product div.product .kc-gift-layout form.cart .single_add_to_cart_button {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    min-height: 44px;
    box-sizing: border-box;
}
.woocommerce.kc-gift-product div.product .kc-gift-layout form.cart a.kc-gift-login { text-align: center; }
.woocommerce.kc-gift-product div.product .kc-gift-layout form.cart button.kc-gift-buy-disabled:disabled {
    border: 1px solid #a5b2b1;
    background: #dce3dd;
    color: #425866;
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none;
}
.kc-gift-product .kc-gift-layout #kc-gift-purchase-help {
    margin: 9px 0 0;
    font-size: 16px;
    line-height: 1.45;
    color: var(--muted);
}
.kc-gift-product #kc-gift-purchase-help a { font-weight: 650; white-space: normal; }
.kc-gift-product .kc-gift-layout .kc-gift-pickup {
    border-top: 1px solid #bbc4b9;
    padding-top: 10px;
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.4;
}
.kc-gift-details { clear: both; margin: clamp(18px, 2.7vw, 38px) 0 0; }
.kc-gift-details details { border-top: 1px solid #9badab; }
.kc-gift-details details:last-child { border-bottom: 1px solid #9badab; }
.kc-gift-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 9px 2px;
    box-sizing: border-box;
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}
.kc-gift-details summary::-webkit-details-marker { display: none; }
.kc-gift-details summary::after { content: "+"; font: 400 22px/1 sans-serif; }
.kc-gift-details details[open] > summary::after { content: "−"; }
.kc-gift-details details > :not(summary) { max-width: 65ch; font-size: 17px; line-height: 1.5; margin: 0 0 14px; }
.kc-gift-details details > ul { padding-left: 24px; }
.kc-gift-details details > h2 { font-size: 21px; margin-top: 18px; }
.kc-gift-contents {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    gap: clamp(24px,4vw,60px);
    margin: 0;
    padding: clamp(18px,2.6vw,34px) 0;
    border-top: 1px solid #9badab;
}
.kc-gift-contents h2 { margin: 0 0 .5rem; font-size: clamp(25px,2.3vw,35px); line-height: 1.2; }
.kc-gift-contents p { margin: 0; max-width: 52ch; font-size: clamp(16px,1.3vw,18px); line-height: 1.5; }
.kc-gift-contents p + p { margin-top: .5rem; }
.kc-gift-pack-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1%;
    padding: 7px 3%;
    margin: 0;
}
.kc-gift-pack-photo img { width: 18%; max-width: 90px; height: auto; object-fit: contain; filter: drop-shadow(0 3px 2px #442b1829); }
.kc-gift-pack-photo img:nth-child(1) { transform: rotate(-8deg) translateY(4%); }
.kc-gift-pack-photo img:nth-child(2) { transform: rotate(-4deg); }
.kc-gift-pack-photo img:nth-child(4) { transform: rotate(4deg); }
.kc-gift-pack-photo img:nth-child(5) { transform: rotate(8deg) translateY(4%); }
@media (max-width: 740px) {
    .kc-gift-product .kc-gift-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: auto; grid-template-areas: "heading" "photo" "purchase"; }
    .kc-gift-heading p { margin: 6px 0 12px; }
    .kc-gift-photo { margin-bottom: 16px; aspect-ratio: 16/9; }
    .kc-gift-contents { grid-template-columns: minmax(0,1fr); gap: 12px; }
    .kc-gift-pack-photo { width: min(100%, 430px); justify-self: center; }
}
