.nd-domestic.single-product .woocommerce-tabs {
    --nd-ink: #243f36;
    --nd-line: #e3dcd0;
    --nd-paper: #fcfaf6;
    --nd-serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif;
}
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs {
    display: flex; flex-direction:row !important; justify-content: center; flex-wrap: wrap; gap: 4px;
    width: fit-content; max-width: 94%; min-height: 0; padding: 5px;
    margin: 25px auto 30px; border: 1px solid var(--nd-line); border-radius: 32px;
    background: #f7f5ef;
}
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs::before,
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs li::before,
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs li::after,
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs a::after { display:none; }
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs li {
    border: 0; padding: 0; margin: 0; background: none; min-height: 0;
}
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs li a {
    display: block; min-height: 0; padding: 9px clamp(12px,2vw,30px);
    border: 0; border-radius: 30px; color: #4c5851; line-height: 1.5;
    font-size: 15px; font-weight: 550; text-decoration: none;
}
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs li.active a,
.nd-domestic.single-product .woocommerce-tabs ul.wc-tabs a[aria-selected="true"] {
    background: var(--nd-ink); color: #fff !important;
}
.nd-domestic.single-product .woocommerce-tabs a:focus-visible,
.nd-print-dialog button:focus-visible { outline: 3px solid #9e664d; outline-offset: 3px; }
.nd-domestic.single-product .woocommerce-tabs .wc-tab { padding-block: 0 24px !important; }
.nd-domestic.single-product .wc-tab > .nd-flower-sheet,
.nd-domestic.single-product .wc-tab > .nd-print-gallery,
.nd-domestic.single-product .wc-tab > .nd-delivery-sheet {
    width: var(--theme-container-width,90%); max-width: 1120px;
    margin-inline: auto; box-sizing: border-box; color: var(--nd-ink);
}
.nd-flower-sheet {
    display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    border: 1px solid var(--nd-line); border-radius: 18px; overflow: hidden;
    background: var(--nd-paper);
}
.nd-flower-sheet.nd-sheet-text { display:block; }
.nd-flower-sheet .nd-sheet-photo {
    margin:0; position:relative; min-height:350px; background:#eee8e2;
}
.nd-sheet-photo img {
    position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover;
}
.nd-sheet-copy { padding:clamp(25px,4vw,58px); align-self:center; min-width:0; }
.nd-sheet-copy h2 { font: 600 clamp(24px,2.35vw,36px)/1.45 var(--nd-serif); color:var(--nd-ink); margin:0 0 20px; text-wrap:balance; }
.nd-sheet-copy h2 span { display:block; margin-top:8px; font:500 clamp(16px,1.35vw,21px)/1.55 var(--nd-serif); }
.nd-sheet-copy ul.nd-sheet-facts { list-style:none; padding:0; margin:0; }
.nd-sheet-facts li { padding:11px 0; margin:0; border-top:1px solid var(--nd-line); font-size:15px; line-height:1.7; }
.nd-sheet-facts li:has(>strong:first-child) { display:grid; grid-template-columns: minmax(76px, .31fr) 1fr; gap:12px; }
.nd-sheet-facts li strong { color:#5c6254; font-weight:600; }
.nd-sheet-copy p { margin:15px 0 0; font-size:14px; line-height:1.85; color:#576459; }
.nd-print-gallery {
    display:flex; justify-content:center; flex-wrap:wrap; align-items:center;
    gap:clamp(12px,2vw,28px); padding:clamp(18px,3.2vw,43px);
    background:linear-gradient(118deg,#eee9df,#f9f5ee 48%,#f2e8e4);
    border:1px solid var(--nd-line); border-radius:18px;
}
.nd-print-gallery .nd-bouquet-card {
    position:relative; display:block; width:min(100%,295px); padding:8px;
    margin:0; background:#fff; box-shadow:0 5px 19px #382c221b;
    border-radius:3px; cursor:zoom-in;
}
.nd-print-gallery .nd-bouquet-card:only-child { width:min(100%,390px); }
.nd-print-gallery img { display:block; width:100%; max-height:500px; object-fit:contain; }
.nd-print-gallery .nd-bouquet-card::after {
    content:'查看大图 ↗'; position:absolute; bottom:17px; right:17px; background:#fffffff0;
    color:#294636; padding:5px 10px; border-radius:16px; font:500 12px/1.5 sans-serif;
}
.nd-delivery-sheet { background:var(--nd-paper); border:1px solid var(--nd-line); border-radius:18px; padding:clamp(22px,4vw,48px); }
.nd-delivery-sheet dl { display:grid; grid-template-columns:minmax(90px,1fr) 5fr; margin:0; }
.nd-delivery-sheet dt,.nd-delivery-sheet dd { padding:16px 0; margin:0; border-bottom:1px solid var(--nd-line); line-height:1.85; }
.nd-delivery-sheet dt { font-weight:650; }
.nd-delivery-sheet dd { color:#46584d; }
.nd-delivery-sheet p { margin:18px 0 0; }
.nd-delivery-sheet p a { display:inline-block; margin-right:1.25em; color:var(--nd-ink); text-underline-offset:4px; }
.nd-print-dialog { width:fit-content; max-width:96vw; max-height:96dvh; margin:auto; padding:8px; border:0; border-radius:10px; background:#fffaf4; }
.nd-print-dialog::backdrop { background:#172821df; }
.nd-print-dialog img { display:block; max-width:88vw; max-height:78dvh; width:auto; height:auto; margin:auto; }
.nd-print-dialog .nd-print-controls { display:flex; justify-content:center; align-items:center; gap:12px; margin:8px 0 0; }
.nd-print-dialog button { border:1px solid #ded8cd; border-radius:20px; padding:6px 16px; background:white; color:#243f36; cursor:pointer; }
.nd-print-dialog button[hidden] {display:none;}
@media(max-width:680px) {
    .nd-flower-sheet { grid-template-columns:1fr; }
    .nd-flower-sheet .nd-sheet-photo { min-height:0; height:auto; aspect-ratio:4/3; }
    .nd-sheet-photo img { object-position:center 66%; }
    .nd-sheet-copy { padding:20px; }
    .nd-sheet-facts li:has(>strong:first-child) { grid-template-columns:82px 1fr; gap:8px; }
    .nd-domestic.single-product .woocommerce-tabs ul.wc-tabs { margin-bottom:18px; }
    .nd-domestic.single-product .woocommerce-tabs ul.wc-tabs li { flex:0 0 auto !important; width:auto !important; }
    .nd-domestic.single-product .woocommerce-tabs ul.wc-tabs li a { padding:9px 12px !important; font-size:14px; }
    .nd-print-gallery {gap:12px;padding:16px;}
    .nd-print-gallery .nd-bouquet-card:not(:only-child) {width:calc(50% - 6px);padding:4px;}
    .nd-print-gallery .nd-bouquet-card:not(:only-child)::after {content:'↗';right:8px;bottom:8px;}
    .nd-delivery-sheet dl { display:block; }
    .nd-delivery-sheet dt { border:0; padding:12px 0 4px; }
    .nd-delivery-sheet dd { padding:0 0 12px; }
}

.nd-service-notes p {
    display:flex; align-items:center; gap:13px; margin:0; padding:12px 16px;
    font-size:13px; line-height:1.65; color:#526657;
}
.nd-service-notes p:first-child { background:#f1f5ef; }
.nd-service-notes p+p { border-top:1px solid #dce4d9; }
.nd-service-notes p strong { color:#294839; }
.nd-service-notes svg { color:#385745; }
.nd-gift-picker { border-bottom:1px solid #e5dcd1; margin-top:10px; padding:0 2px; }
.nd-gift-picker summary {
    list-style:none; display:flex; gap:12px; align-items:center;
    padding:10px 4px; color:#624c44; font-size:14px; cursor:pointer;
}
.nd-gift-picker summary::-webkit-details-marker { display:none; }
.nd-gift-picker summary::after { content:"+"; margin-left:auto; padding:0 4px; }
.nd-gift-picker details[open]>summary::after,.nd-gift-picker[open]>summary::after { content:"−"; }
.nd-gift-faces { display:flex; padding-left:4px; }
.nd-gift-faces img { width:32px; height:32px; border:2px solid white; border-radius:50%; margin-left:-4px; object-fit:cover; }
.nd-gift-choice { padding-inline:10px; border-top:1px solid #ece5df; }
.nd-gift-choice summary { font-size:13px; }
.nd-gift-option { display:flex; align-items:center; gap:10px; padding:9px 0; color:#514a44; font-size:13px; }
.nd-gift-option>span { flex:1; min-width:0; }
.nd-gift-option b { display:block; color:#785349; }
.nd-gift-option .button { flex:none; min-height:34px; padding:5px 15px; border-radius:6px; }

.nd-domestic.single-product .wc-tab>.nd-product-guide {
    width:var(--theme-container-width,90%); max-width:1120px; margin:22px auto 0;
}
.nd-guide-spread {
    display:grid; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); align-items:center;
    background:#f5f6ee; border:1px solid #dce3d5; border-radius:16px; overflow:hidden;
}
.nd-guide-spread+.nd-guide-spread { margin-top:18px; }
.nd-guide-spread img { width:100%; height:auto; display:block; align-self:stretch; object-fit:cover; }
.nd-guide-spread>div { padding:clamp(20px,3vw,38px); }
.nd-guide-spread h2 { margin:0 0 16px; color:#284635; font:600 clamp(23px,2.1vw,31px)/1.4 var(--nd-serif); }
.nd-guide-spread dl { margin:0; }
.nd-guide-spread dt { font-size:15px; font-weight:650; color:#364d3b; margin:12px 0 2px; }
.nd-guide-spread dd { margin:0; font-size:14px; line-height:1.8; color:#535e52; }
.nd-care-spread { background:#fcf5e9; border-color:#e7dbcb; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); }
.nd-care-spread>img { grid-column:2; grid-row:1; object-fit:contain; background:#faeedc; }
.nd-care-spread>div { grid-column:1; grid-row:1; }
@media (max-width:700px) {
    .nd-guide-spread,.nd-care-spread { grid-template-columns:1fr; }
    .nd-guide-spread>img,.nd-guide-spread>div { grid-column:auto; grid-row:auto; }
    .nd-guide-spread>img { max-height:215px; object-fit:cover; }
    .nd-care-spread>img { object-fit:contain; }
    .nd-guide-spread>div { padding:18px 20px 23px; }
    .nd-gift-option { flex-wrap:wrap; }
}
