/* طلای درگاهی — theme templates: posts, pages, search, 404, single product. */

.gd-skip { position: absolute; top: -60px; right: 12px; z-index: 1000; background: #2E2013; color: #F6E1AE; padding: 10px 16px; border-radius: 10px; font-family: 'Vazirmatn GD', Tahoma, sans-serif; transition: top .2s; }
.gd-skip:focus { top: 12px; }
body.gd-theme { overflow-x: hidden; }
.gd-root .gd-th-main { padding-bottom: 64px; min-height: 50vh; }

/* ---------- page head ---------- */
.gd-root .gd-th-head-sec { margin-top: 24px; margin-bottom: 28px; }
.gd-root .gd-th-head { position: relative; overflow: hidden; border-radius: 26px; background: linear-gradient(135deg, #FBF6EE, #EFE2CC); padding: 34px 36px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 26px 50px -38px rgba(94, 59, 18, .5); }
.gd-root .gd-th-head::after { content: ""; position: absolute; left: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(182, 127, 47, .25); box-shadow: 0 0 0 26px rgba(182, 127, 47, .05), 0 0 0 54px rgba(182, 127, 47, .04); pointer-events: none; }
.gd-root .gd-th-head .gd-spark-0 { top: 30%; left: 22%; } .gd-root .gd-th-head .gd-spark-3 { top: 65%; left: 42%; }
.gd-root .gd-th-head h1 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; line-height: 1.45; position: relative; z-index: 1; }
.gd-root .gd-th-sub { color: var(--gd-muted); font-size: 15px; position: relative; z-index: 1; max-width: 720px; }
.gd-root .gd-th-sub p { margin: 0; }
.gd-root .gd-th-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.gd-root .gd-th-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.gd-root .gd-th-meta > * + *::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #CDAE7C; margin-left: 12px; }

/* ---------- layout ---------- */
.gd-root .gd-th-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.gd-root .gd-th-layout.has-side { grid-template-columns: minmax(0, 1fr) 300px; }
.gd-root .gd-th-narrow { max-width: 920px; }
.gd-root .gd-th-card { background: var(--gd-card); border: 1px solid #EDE1CE; border-radius: 24px; overflow: hidden; box-shadow: 0 22px 44px -36px rgba(94, 59, 18, .45); }
.gd-root .gd-th-cover { margin: 0; aspect-ratio: 16 / 7; overflow: hidden; background: #EFE4D2; }
.gd-root .gd-th-cover img { width: 100%; height: 100%; object-fit: cover; animation: gdKen 18s ease-in-out infinite alternate; }
.gd-root .gd-th-article .gd-th-content { padding: 34px clamp(20px, 4vw, 48px) 38px; }

/* ---------- content typography (editor output) ---------- */
.gd-root .gd-th-content { font-size: 16.5px; line-height: 2.05; color: var(--gd-text); overflow-wrap: anywhere; }
.gd-root .gd-th-content > * + * { margin-top: 1.1em; }
.gd-root .gd-th-content h2, .gd-root .gd-th-content h3, .gd-root .gd-th-content h4 { color: var(--gd-ink); font-weight: 900; line-height: 1.6; margin-top: 1.6em; }
.gd-root .gd-th-content h2 { font-size: 24px; } .gd-root .gd-th-content h3 { font-size: 20px; } .gd-root .gd-th-content h4 { font-size: 17px; }
.gd-root .gd-th-content h2::before { content: ""; display: inline-block; width: 10px; height: 10px; transform: rotate(45deg); background: linear-gradient(135deg, var(--gd-gold), #E9C77E); margin-left: 10px; vertical-align: middle; border-radius: 2px; }
.gd-root .gd-th-content p { margin-bottom: 0; }
.gd-root .gd-th-content a { color: var(--gd-gold-dark); text-decoration: underline; text-decoration-color: rgba(182, 127, 47, .4); text-underline-offset: 4px; }
.gd-root .gd-th-content ul, .gd-root .gd-th-content ol { padding-right: 1.4em; }
.gd-root .gd-th-content ul { list-style: none; }
.gd-root .gd-th-content ul > li { position: relative; }
.gd-root .gd-th-content ul > li::before { content: ""; position: absolute; right: -1.1em; top: .85em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gd-gold); border-radius: 1px; }
.gd-root .gd-th-content ol { list-style: decimal; list-style-type: persian; }
.gd-root .gd-th-content li + li { margin-top: .35em; }
.gd-root .gd-th-content blockquote { margin: 1.4em 0; padding: 18px 24px; border-right: 4px solid var(--gd-gold); background: #FBF6EE; border-radius: 0 16px 16px 0; color: #5A4127; font-weight: 600; }
.gd-root .gd-th-content img { border-radius: 16px; height: auto; }
.gd-root .gd-th-content figure { margin: 1.4em 0; max-width: 100%; }
.gd-root .gd-th-content figcaption { font-size: 13px; color: var(--gd-muted); text-align: center; margin-top: 8px; }
.gd-root .gd-th-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.gd-root .gd-th-content th, .gd-root .gd-th-content td { border: 1px solid #EDE1CE; padding: 10px 12px; text-align: right; }
.gd-root .gd-th-content th { background: #F6EFE4; color: var(--gd-ink); }
.gd-root .gd-th-content pre, .gd-root .gd-th-content code { direction: ltr; text-align: left; font-family: ui-monospace, Consolas, monospace; font-size: 14px; background: #F3EADB; border-radius: 8px; }
.gd-root .gd-th-content code { padding: 2px 6px; }
.gd-root .gd-th-content pre { padding: 16px; overflow-x: auto; }
.gd-root .gd-th-content hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, #D8C09A, transparent); margin: 2em 0; }
.gd-root .gd-th-content iframe, .gd-root .gd-th-content video { max-width: 100%; border-radius: 16px; }
.gd-root .gd-th-content .alignleft { float: left; margin: 0 0 1em 1.4em; }
.gd-root .gd-th-content .alignright { float: right; margin: 0 1.4em 1em 0; }
.gd-root .gd-th-content .aligncenter { margin-inline: auto; }
.gd-root .gd-th-content .wp-block-button__link, .gd-root .gd-th-content .wp-element-button { background: linear-gradient(135deg, var(--gd-gold), var(--gd-gold-dark)); color: #fff; border-radius: 999px; padding: 12px 26px; text-decoration: none; font-weight: 700; }
.gd-root .gd-th-content::after { content: ""; display: table; clear: both; }

.gd-root .gd-th-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 clamp(20px, 4vw, 48px) 30px; }
.gd-root .gd-th-tags a { background: #F3EADB; color: #6B4A24; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.gd-root .gd-th-tags a:hover { background: var(--gd-ink); color: #F6E1AE; }

/* ---------- post cards ---------- */
.gd-root .gd-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.gd-root .gd-post-card { display: flex; flex-direction: column; background: var(--gd-card); border: 1px solid #EDE1CE; border-radius: 22px; overflow: hidden; animation: gdUp .7s var(--gd-ease) var(--d, 0s) both; transition: transform .45s var(--gd-ease), box-shadow .45s; }
.gd-root .gd-post-card:hover { transform: translateY(-8px); box-shadow: 0 24px 42px -24px rgba(94, 59, 18, .5); }
.gd-root .gd-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #F6EFE4, #EADBC2); }
.gd-root .gd-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--gd-ease); }
.gd-root .gd-post-card:hover .gd-post-img img { transform: scale(1.07); }
.gd-root .gd-post-ph { display: flex; height: 100%; align-items: center; justify-content: center; color: #C9A46B; }
.gd-root .gd-post-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gd-root .gd-post-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: #8C755A; align-items: center; }
.gd-root .gd-post-cat { background: var(--gd-gold-soft); color: #6B4A24; border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.gd-root .gd-post-title { font-size: 18px; font-weight: 800; line-height: 1.6; }
.gd-root .gd-post-title a { color: var(--gd-ink); }
.gd-root .gd-post-title a:hover { color: var(--gd-gold-dark); }
.gd-root .gd-post-excerpt { font-size: 14px; color: var(--gd-muted); line-height: 1.9; }
.gd-root .gd-post-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; min-height: 40px; }
.gd-root .gd-post-more .gd-ic { transition: transform .3s; }
.gd-root .gd-post-more:hover .gd-ic { transform: translateX(-4px); }

/* pagination */
.gd-root .gd-th-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.gd-root .gd-th-pages .page-numbers, .gd-root .gd-th-pages > a, .gd-root .gd-th-pages > span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid #E6D6BE; background: var(--gd-card); color: #5A4127; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.gd-root .gd-th-pages .page-numbers.current, .gd-root .gd-th-pages > span.current { background: var(--gd-ink); border-color: var(--gd-ink); color: #F6E1AE; }
.gd-root .gd-th-pages a.page-numbers:hover { border-color: var(--gd-gold); color: var(--gd-gold-dark); }
.gd-root .gd-th-pages .dots { border: 0; background: none; }

/* search form, empty, 404 */
.gd-root .gd-th-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E6D6BE; border-radius: 999px; padding: 5px 16px 5px 5px; width: 100%; max-width: 520px; margin-inline: auto; transition: border-color .3s, box-shadow .3s; }
.gd-root .gd-th-search:focus-within { border-color: var(--gd-gold); box-shadow: 0 0 0 4px rgba(182, 127, 47, .15); }
.gd-root .gd-th-search > .gd-ic { color: #9A7B55; flex: none; }
.gd-root .gd-th-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; padding: 8px 0; outline: none; color: var(--gd-ink); }
.gd-root .gd-th-search .gd-btn { min-height: 44px; padding: 0 22px; flex: none; }
.gd-root .gd-th-searchbar { margin-bottom: 24px; }
.gd-root .gd-th-searchbar .gd-th-search { margin-inline: 0; }
.gd-root .gd-th-empty .gd-th-search { margin: 6px auto; }
.gd-root .gd-th-empty-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.gd-root .gd-th-empty-btns .gd-btn-soft { width: auto; min-height: 48px; padding: 0 24px; font-size: 14px; }

.gd-root .gd-404 { text-align: center; padding-top: 56px; padding-bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 760px; }
.gd-root .gd-404-num { display: flex; align-items: center; gap: 10px; font-size: clamp(90px, 18vw, 170px); font-weight: 900; line-height: 1; color: transparent; background: linear-gradient(135deg, #E9C77E, var(--gd-gold) 45%, var(--gd-gold-dark)); -webkit-background-clip: text; background-clip: text; }
.gd-root .gd-404-ring { width: .9em; height: .9em; border-radius: 50%; border: 6px solid var(--gd-gold); display: inline-flex; align-items: center; justify-content: center; color: var(--gd-gold); animation: gdSway 3.6s ease-in-out infinite; box-shadow: 0 0 0 10px rgba(182, 127, 47, .08); }
.gd-root .gd-404-ring .gd-ic { width: .45em; height: .45em; }
.gd-root .gd-404 h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; }
.gd-root .gd-404 > p { color: var(--gd-muted); }
.gd-root .gd-404 .gd-th-search { min-width: min(520px, 100%); }

/* post nav, comments, sidebar */
.gd-root .gd-th-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.gd-root .gd-th-postnav a { background: var(--gd-card); border: 1px solid #EDE1CE; border-radius: 18px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; color: var(--gd-ink); transition: border-color .3s, transform .3s; }
.gd-root .gd-th-postnav a:hover { border-color: var(--gd-gold); transform: translateY(-3px); }
.gd-root .gd-th-postnav small { color: #8C755A; font-size: 12.5px; }
.gd-root .gd-th-postnav b { font-weight: 800; line-height: 1.6; }
.gd-root .gd-th-postnav-next { grid-column: 2; text-align: left; }

.gd-root .gd-th-comments { margin-top: 22px; padding: 28px clamp(20px, 4vw, 40px); }
.gd-root .gd-th-comments-title, .gd-root .gd-th-comments .comment-reply-title { font-size: 20px; font-weight: 900; color: var(--gd-ink); margin-bottom: 16px; }
.gd-root .gd-th-comment-list, .gd-root .gd-th-comment-list .children { list-style: none; margin: 0; padding: 0; }
.gd-root .gd-th-comment-list .children { padding-right: 28px; }
.gd-root .gd-th-comment-list .comment-body { border-bottom: 1px solid #EFE4D2; padding: 16px 0; }
.gd-root .gd-th-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--gd-ink); }
.gd-root .gd-th-comment-list .comment-author .says { display: none; }
.gd-root .gd-th-comment-list .avatar { border-radius: 50%; }
.gd-root .gd-th-comment-list .comment-metadata { font-size: 12.5px; margin: 4px 0 8px; }
.gd-root .gd-th-comment-list .comment-metadata a { color: #8C755A; }
.gd-root .gd-th-comment-list .reply a { font-size: 13px; font-weight: 700; }
.gd-root .comment-form { display: grid; gap: 12px; }
.gd-root .comment-form label { display: block; font-size: 14px; font-weight: 700; color: #5A4127; margin-bottom: 6px; }
.gd-root .comment-form input[type="text"], .gd-root .comment-form input[type="email"], .gd-root .comment-form input[type="url"], .gd-root .comment-form textarea {
	width: 100%; border: 1px solid #E2D2B8; background: #FFFDF9; border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--gd-ink); transition: border-color .25s, box-shadow .25s;
}
.gd-root .comment-form input:focus, .gd-root .comment-form textarea:focus { border-color: var(--gd-gold); box-shadow: 0 0 0 4px rgba(182, 127, 47, .15); outline: none; background: #fff; }
.gd-root .comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.gd-root .comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 500; }
.gd-root .comment-form .form-submit { margin: 0; }
.gd-root .comment-form .gd-btn, .gd-root .comment-form input[type="submit"] { border: 0; cursor: pointer; min-height: 50px; padding: 0 30px; border-radius: 999px; background: linear-gradient(135deg, var(--gd-gold), var(--gd-gold-dark)); color: #fff; font: inherit; font-weight: 800; }
.gd-root .comment-notes, .gd-root .logged-in-as { font-size: 13px; color: var(--gd-muted); }

.gd-root .gd-th-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.gd-root .gd-widget { background: var(--gd-card); border: 1px solid #EDE1CE; border-radius: 20px; padding: 20px; font-size: 14.5px; }
.gd-root .gd-widget-title, .gd-root .gd-widget h2 { font-size: 16px; font-weight: 900; color: var(--gd-ink); margin-bottom: 12px; }
.gd-root .gd-widget li { padding: 7px 0; border-bottom: 1px dashed #EADDC8; }
.gd-root .gd-widget li:last-child { border-bottom: 0; }
.gd-root .gd-widget input[type="search"] { width: 100%; border: 1px solid #E2D2B8; border-radius: 12px; padding: 10px 12px; font: inherit; }

/* WooCommerce fallback pages (shop off, etc.) */
.gd-root .gd-th-woo .gd-th-card { padding: 26px; }
.gd-root .gd-th-woo ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin: 0; padding: 0; }
.gd-root .gd-th-woo ul.products::before, .gd-root .gd-th-woo ul.products::after { display: none; }
.gd-root .gd-th-woo ul.products li.product { width: auto; float: none; margin: 0; text-align: center; background: #FBF6EE; border-radius: 18px; padding: 12px; }
.gd-root .gd-th-woo ul.products li.product img { border-radius: 14px; margin-bottom: 10px; }

/* =========================================================
   SINGLE PRODUCT
   ========================================================= */
.gd-root .gd-sp { padding-top: 22px; }
.gd-root .gd-sp-crumbs { margin-bottom: 18px; }
.gd-root .gd-sp-crumbs span[aria-current] { color: var(--gd-ink); font-weight: 700; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-root .gd-sp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 52px); align-items: start; }

.gd-root .gd-sp-gallery { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 12px; }
body.admin-bar .gd-root .gd-sp-gallery { top: 140px; }
.gd-root .gd-sp-main { position: relative; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #FFFDF9, #F1E5D1 75%); border: 1px solid #EDE1CE; box-shadow: 0 30px 60px -40px rgba(94, 59, 18, .55); }
.gd-root .gd-sp-main .gd-tag { top: 18px; right: 18px; font-size: 12px; padding: 4px 12px; }
.gd-root .gd-sp-main .gd-like { top: 12px; left: 12px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 253, 249, .9); box-shadow: 0 8px 18px -10px rgba(94, 59, 18, .5); }
.gd-root .gd-sp-zoom { display: block; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.gd-root .gd-sp-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--gd-ease), opacity .3s; }
.gd-root .gd-sp-img.is-swap { opacity: 0; transform: scale(.97); }
.gd-root .gd-sp-zoom.is-zoom .gd-sp-img { transform: scale(1.8); transition: transform .2s ease-out; }
.gd-root .gd-sp-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 5); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.gd-root .gd-sp-thumbs::-webkit-scrollbar { display: none; }
.gd-root .gd-sp-thumb { scroll-snap-align: start; }
.gd-root .gd-sp-thumb { padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; background: #F6EFE4; cursor: pointer; aspect-ratio: 1; transition: border-color .3s, transform .3s; }
.gd-root .gd-sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gd-root .gd-sp-thumb:hover { transform: translateY(-3px); }
.gd-root .gd-sp-thumb.is-on { border-color: var(--gd-gold); }

.gd-root .gd-sp-info { display: flex; flex-direction: column; gap: 14px; }
.gd-root .gd-sp-title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: var(--gd-ink); line-height: 1.5; }
.gd-root .gd-sp-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.gd-root .gd-sp-rating .star-rating { color: var(--gd-gold); }
.gd-root .gd-sp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-root .gd-sp-tags span { display: inline-flex; align-items: center; gap: 6px; background: #F3EADB; color: #5A4127; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; }
.gd-root .gd-sp-tags .gd-ic { color: var(--gd-gold); }
.gd-root .gd-sp-tags .gd-in { background: #E5F1E2; color: #2F6B2A; } .gd-root .gd-sp-tags .gd-in .gd-ic { color: #2F6B2A; }
.gd-root .gd-sp-tags .gd-out { background: #F7DADF; color: #7A1F2B; }
.gd-root .gd-sp-price { font-size: clamp(24px, 2.6vw, 30px); font-weight: 900; color: var(--gd-ink); padding: 16px 20px; border-radius: 20px; background: linear-gradient(135deg, #FBF6EE, #F1E3C8); border: 1px solid #EAD7B5; }
.gd-root .gd-sp-price del { font-size: .6em; color: #9C8A73; font-weight: 600; margin-left: 10px; }
.gd-root .gd-sp-price ins { text-decoration: none; }
.gd-root .gd-sp-price .woocommerce-Price-currencySymbol { font-size: .55em; font-weight: 700; }
.gd-root .gd-sp-price .screen-reader-text, .gd-root .gd-sp-buy .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.gd-root .gd-sp-short { color: var(--gd-muted); line-height: 2; font-size: 15px; }
.gd-root .gd-sp-short p { margin: 0 0 8px; }

.gd-root .gd-sp-buy.gd-woo-content { padding: 0; }
.gd-root .gd-sp-buy form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0; }
.gd-root .gd-sp-buy form.variations_form { flex-direction: column; }
.gd-root .gd-sp-buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.gd-root .gd-sp-buy .quantity { margin: 0; }
.gd-root .gd-sp-buy .quantity.gd-qty { height: 58px; }
.gd-root .gd-sp-buy .quantity.gd-qty .gd-qbtn { height: 50px; width: 46px; font-size: 22px; }
.gd-root .gd-sp-buy .quantity input.qty { width: 56px !important; height: 50px; border: 0 !important; background: none !important; text-align: center; font-size: 18px; font-weight: 800; padding: 0 !important; box-shadow: none !important; -moz-appearance: textfield; }
.gd-root .gd-sp-buy .quantity input.qty::-webkit-inner-spin-button, .gd-root .gd-sp-buy .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.gd-root .gd-sp-buy .single_add_to_cart_button { flex: 1; min-width: 200px; min-height: 58px !important; font-size: 17px !important; border-radius: 18px !important; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; }
.gd-root .gd-sp-buy .single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; }
.gd-root .gd-sp-buy table.variations { margin: 0; border: 0; }
.gd-root .gd-sp-buy table.variations th, .gd-root .gd-sp-buy table.variations td { border: 0; padding: 6px 0; display: block; }
.gd-root .gd-sp-buy table.variations tr { display: block; margin-bottom: 8px; }
.gd-root .gd-sp-buy .reset_variations { font-size: 13px; display: inline-block; margin-top: 6px; }
.gd-root .gd-sp-buy .woocommerce-variation-price { font-size: 22px; font-weight: 900; color: var(--gd-ink); margin-bottom: 6px; }
.gd-root .gd-sp-buy .stock { font-weight: 700; color: #2F6B2A; margin: 0; }
.gd-root .gd-sp-buy .stock.out-of-stock { color: #7A1F2B; }
.gd-root .gd-sp-buy .group_table td { padding: 8px 6px; }

.gd-root .gd-sp-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.gd-root .gd-sp-trust li { display: flex; align-items: center; gap: 10px; background: var(--gd-card); border: 1px solid #EDE1CE; border-radius: 16px; padding: 12px; font-size: 12.5px; color: var(--gd-muted); line-height: 1.6; }
.gd-root .gd-sp-trust .gd-ic { color: var(--gd-gold); flex: none; }
.gd-root .gd-sp-trust b { display: block; color: var(--gd-ink); font-size: 13.5px; }
.gd-root .gd-sp-help { font-size: 14px; color: var(--gd-muted); }
.gd-root .gd-sp-help a { font-weight: 800; direction: ltr; unicode-bidi: embed; }

/* tabs */
.gd-root .gd-sp-tabs { margin-top: 48px; background: var(--gd-card); border: 1px solid #EDE1CE; border-radius: 26px; overflow: hidden; }
.gd-root .gd-sp-tablist { display: flex; gap: 4px; padding: 8px; background: #F6EFE4; overflow-x: auto; scrollbar-width: none; }
.gd-root .gd-sp-tablist::-webkit-scrollbar { display: none; }
.gd-root .gd-sp-tab { flex: none; border: 0; background: none; padding: 12px 22px; min-height: 48px; border-radius: 16px; font-weight: 800; color: #806A50; cursor: pointer; transition: background .3s, color .3s; }
.gd-root .gd-sp-tab:hover { color: var(--gd-ink); }
.gd-root .gd-sp-tab.is-on { background: var(--gd-card); color: var(--gd-ink); box-shadow: 0 8px 20px -14px rgba(94, 59, 18, .6); }
.gd-root .gd-sp-panel { padding: 28px clamp(20px, 4vw, 40px); animation: gdUp .5s var(--gd-ease) both; }
.gd-root .gd-sp-panel[hidden] { display: none; }
.gd-root .gd-sp-panel > h2:first-child { display: none; }
.gd-root .gd-sp-panel table.shop_attributes { border: 0; margin: 0; }
.gd-root .gd-sp-panel table.shop_attributes th { width: 30%; background: #FBF6EE; font-weight: 800; color: var(--gd-ink); }
.gd-root .gd-sp-panel table.shop_attributes td p { margin: 0; }
.gd-root .gd-sp-panel ol.commentlist { list-style: none; margin: 0 0 20px; padding: 0; }
.gd-root .gd-sp-panel ol.commentlist li { border-bottom: 1px solid #EFE4D2; padding: 14px 0; }
.gd-root .gd-sp-panel ol.commentlist .comment_container { display: flex; gap: 12px; }
.gd-root .gd-sp-panel ol.commentlist img.avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; position: static; border: 0; padding: 0; }
.gd-root .gd-sp-panel ol.commentlist .comment-text { flex: 1; border: 0; margin: 0; padding: 0; }
.gd-root .gd-sp-panel .star-rating { float: none; color: var(--gd-gold); margin-bottom: 4px; }
.gd-root .gd-sp-panel .woocommerce-review__author { font-weight: 800; color: var(--gd-ink); }
.gd-root .gd-sp-panel .comment-form-rating .stars a { color: var(--gd-gold); }
.gd-root .gd-sp-panel #review_form_wrapper { background: #FBF6EE; border-radius: 20px; padding: 20px; }
.gd-root .gd-sp-panel .comment-reply-title { font-size: 17px; font-weight: 900; color: var(--gd-ink); display: block; margin-bottom: 10px; }
.gd-root .gd-sp-panel .woocommerce-noreviews { color: var(--gd-muted); }

.gd-root .gd-sp-related { margin-top: 56px; }
.gd-root .gd-sp-related .gd-qv-open { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
	.gd-root .gd-th-layout.has-side { grid-template-columns: minmax(0, 1fr); }
	.gd-root .gd-th-side { position: static; }
	.gd-root .gd-sp-grid { grid-template-columns: minmax(0, 1fr); }
	.gd-root .gd-sp-gallery { position: static; max-width: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
	.gd-root .gd-th-head-sec { margin-top: 16px; margin-bottom: 20px; }
	.gd-root .gd-th-head { padding: 24px 20px; border-radius: 22px; }
	.gd-root .gd-th-content { font-size: 15.5px; line-height: 2; }
	.gd-root .gd-post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.gd-root .gd-th-postnav { grid-template-columns: minmax(0, 1fr); }
	.gd-root .gd-th-postnav-next { grid-column: auto; }
	.gd-root .gd-th-search .gd-btn { padding: 0 16px; }
	.gd-root .gd-sp { padding-top: 14px; }
	.gd-root .gd-sp-crumbs span[aria-current] { max-width: 22ch; }
	.gd-root .gd-sp-main { border-radius: 22px; }
	.gd-root .gd-sp-thumbs { grid-auto-columns: calc((100% - 32px) / 4.4); gap: 8px; }
	.gd-root .gd-sp-trust { grid-template-columns: minmax(0, 1fr); }
	.gd-root .gd-sp-trust li { padding: 10px 12px; }
	.gd-root .gd-sp-buy .single_add_to_cart_button { min-width: 0; }
	.gd-root .gd-sp-tabs { margin-top: 32px; border-radius: 20px; }
	.gd-root .gd-sp-tab { padding: 10px 16px; }
	.gd-root .gd-sp-panel table.shop_attributes th { width: 40%; }
	.gd-root .gd-sp-related { margin-top: 40px; }
	.gd-root .gd-sp-related .gd-see-all { position: static; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
	.gd-root .gd-th-cover img, .gd-root .gd-404-ring { animation: none; }
	.gd-root .gd-sp-zoom.is-zoom .gd-sp-img { transform: none; }
}
