/**
 * Amiri Gold — Single Product Page
 * Matches reference: modern dark-theme gold e-commerce
 */

/* ============================================================
   BREADCRUMB
   ============================================================ */
.ag-sp-breadcrumb {
	background: #111;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ag-sp-breadcrumb .ag-container {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.ag-sp-breadcrumb a {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	transition: color 0.2s ease;
}
.ag-sp-breadcrumb a:hover {
	color: #d4af37;
}
.ag-sp-breadcrumb svg {
	color: rgba(255,255,255,0.25);
	flex-shrink: 0;
}
.ag-sp-breadcrumb span {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.8);
	font-weight: 500;
}

/* ============================================================
   MAIN PRODUCT SECTION
   ============================================================ */
.ag-sp-main {
	background: #111;
	padding: 48px 0 60px;
}
.ag-sp-main__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}

/* ============================================================
   GALLERY
   ============================================================ */
.ag-sp-gallery {
	position: sticky;
	top: 90px;
}
.ag-sp-gallery__main {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: #1e1e1e;
	aspect-ratio: 1;
}
.ag-sp-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.3s ease;
}
#ag-sp-main-img {
	opacity: 1;
	transition: opacity 0.3s ease;
}
.ag-sp-gallery__badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: linear-gradient(135deg, #d4af37, #f3d37a);
	color: #1a1a1a;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 8px;
}

/* Thumbnails */
.ag-sp-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}
.ag-sp-gallery__thumb {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid rgba(255,255,255,0.08);
	background: #1e1e1e;
	cursor: pointer;
	padding: 0;
	transition: all 0.25s ease;
}
.ag-sp-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ag-sp-gallery__thumb:hover {
	border-color: rgba(212,175,55,0.4);
}
.ag-sp-gallery__thumb.is-active {
	border-color: #d4af37;
}

/* ============================================================
   PRODUCT INFO
   ============================================================ */
.ag-sp-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Category label */
.ag-sp-info__cat {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgba(212,175,55,0.7);
}

/* Title */
.ag-sp-info__title {
	font-family: 'Vazirmatn', sans-serif;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 800;
	color: #fff;
	margin: 0;
	line-height: 1.4;
}

/* Rating */
.ag-sp-info__rating {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ag-sp-info__stars {
	display: flex;
	gap: 3px;
}
.ag-sp-info__reviews {
	font-size: 0.88rem;
	color: rgba(255,255,255,0.45);
}

/* Price */
.ag-sp-attributes {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	border: 1px solid rgba(212,175,55,0.16);
	border-radius: 14px;
	background: rgba(255,255,255,0.025);
}
.ag-sp-attribute-group {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.ag-sp-attribute-group__label {
	min-width: 74px;
	color: rgba(255,255,255,0.62);
	font-size: 0.86rem;
	font-weight: 600;
}
.ag-sp-attribute-group__choices {
	display: flex;
	gap: 8px;
	flex: 1;
	flex-wrap: wrap;
}
.ag-sp-attribute-choice {
	min-height: 36px;
	padding: 7px 14px;
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 10px;
	background: rgba(31,31,31,0.86);
	color: rgba(255,255,255,0.78);
	font: 500 0.84rem/1.4 'Vazirmatn', sans-serif;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ag-sp-attribute-choice:hover,
.ag-sp-attribute-choice:focus-visible {
	border-color: rgba(212,175,55,0.72);
	color: #f3d37a;
	outline: none;
	box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.ag-sp-attribute-choice.is-active {
	border-color: #d4af37;
	background: linear-gradient(135deg, #d4af37, #f3d37a);
	color: #1a1a1a;
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(212,175,55,0.2);
}
.ag-sp-info__price {
	font-size: 1.5rem;
	font-weight: 800;
	color: #fff;
}
.ag-sp-info__price del {
	color: rgba(255,255,255,0.35);
	font-weight: 400;
	font-size: 1.1rem;
	margin-right: 10px;
}
.ag-sp-info__price ins {
	text-decoration: none;
}

/* Description */
.ag-sp-info__desc {
	font-size: 0.95rem;
	color: rgba(255,255,255,0.6);
	line-height: 1.8;
}
.ag-sp-info__desc p {
	margin: 0;
}

/* ============================================================
   PRICE BREAKDOWN
   ============================================================ */
.ag-sp-price-breakdown {
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 14px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.ag-sp-breakdown__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.ag-sp-breakdown__label {
	font-size: 0.88rem;
	color: rgba(255,255,255,0.55);
}
.ag-sp-breakdown__value {
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
}
.ag-sp-breakdown__value small {
	font-size: 0.75rem;
	font-weight: 400;
	color: rgba(255,255,255,0.4);
	margin-right: 4px;
}

/* Live price row */
.ag-sp-breakdown__row--live {
	background: rgba(212,175,55,0.06);
	border: 1px solid rgba(212,175,55,0.12);
	border-radius: 10px;
	padding: 10px 14px;
	position: relative;
}
.ag-sp-breakdown__live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	display: inline-block;
	margin-left: 8px;
	animation: agPulse 2s infinite;
}
@keyframes agPulse {
	0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
	50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.ag-sp-breakdown__row--live .ag-sp-breakdown__value {
	color: #d4af37;
	font-weight: 700;
}

/* ============================================================
   PRODUCT META
   ============================================================ */
.ag-sp-info__meta {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}
.ag-sp-meta__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
	color: rgba(255,255,255,0.6);
}
.ag-sp-meta__item svg {
	color: rgba(212,175,55,0.6);
	flex-shrink: 0;
}
.ag-sp-meta__item strong {
	color: #fff;
	font-weight: 600;
}

/* ============================================================
   STOCK STATUS
   ============================================================ */
.ag-sp-info__stock {
	display: flex;
	align-items: center;
}
.ag-sp-stock--in,
.ag-sp-stock--back,
.ag-sp-stock--out {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.88rem;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 10px;
}
.ag-sp-stock__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}
.ag-sp-stock--in {
	background: rgba(34,197,94,0.08);
	color: #22c55e;
	border: 1px solid rgba(34,197,94,0.15);
}
.ag-sp-stock--in .ag-sp-stock__dot {
	background: #22c55e;
}
.ag-sp-stock--back {
	background: rgba(234,179,8,0.08);
	color: #eab308;
	border: 1px solid rgba(234,179,8,0.15);
}
.ag-sp-stock--back .ag-sp-stock__dot {
	background: #eab308;
}
.ag-sp-stock--out {
	background: rgba(239,68,68,0.08);
	color: #ef4444;
	border: 1px solid rgba(239,68,68,0.15);
}
.ag-sp-stock--out .ag-sp-stock__dot {
	background: #ef4444;
}

/* ============================================================
   ADD TO CART FORM
   ============================================================ */
.ag-sp-cart {
	display: flex;
	align-items: center;
	gap: 14px;
}
.ag-sp-cart__qty {
	display: flex;
	align-items: center;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.1);
	overflow: hidden;
}
.ag-sp-qty-btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.04);
	border: none;
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.2s ease;
}
.ag-sp-qty-btn:hover {
	background: rgba(255,255,255,0.1);
}
.ag-sp-cart__qty input.qty {
	width: 48px;
	height: 44px;
	text-align: center;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	font-family: 'Vazirmatn', sans-serif;
}
.ag-sp-cart__qty input.qty::-webkit-inner-spin-button,
.ag-sp-cart__qty input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
}

/* Add to cart button */
.ag-sp-add-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 50px;
	border-radius: 14px;
	border: none;
	background: linear-gradient(135deg, #d4af37, #f3d37a);
	color: #1a1a1a;
	font-family: 'Vazirmatn', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(212,175,55,0.25);
}
.ag-sp-add-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 30px rgba(212,175,55,0.35);
}
.ag-sp-add-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Product SKU */
.ag-sp-info__sku {
	font-size: 0.85rem;
	color: rgba(255,255,255,0.4);
}
.ag-sp-info__sku strong {
	color: rgba(255,255,255,0.65);
	font-weight: 500;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.ag-sp-trust {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.06);
}
.ag-sp-trust__item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.6);
}
.ag-sp-trust__item svg {
	color: #d4af37;
	flex-shrink: 0;
}

/* ============================================================
   FEATURES / TABS SECTION
   ============================================================ */
.ag-sp-features {
	background: #0f0f0f;
	padding: 60px 0;
	border-top: 1px solid rgba(255,255,255,0.04);
}
.ag-sp-features__tabs-nav {
	display: flex;
	gap: 8px;
	margin-bottom: 28px;
}
.ag-sp-features__tab {
	padding: 10px 24px;
	border-radius: 10px;
	border: 1px solid rgba(255,255,255,0.08);
	background: transparent;
	color: rgba(255,255,255,0.5);
	font-family: 'Vazirmatn', sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.25s ease;
}
.ag-sp-features__tab:hover {
	color: #fff;
	background: rgba(255,255,255,0.04);
}
.ag-sp-features__tab.is-active {
	color: #1a1a1a;
	background: linear-gradient(135deg, #d4af37, #f3d37a);
	border-color: transparent;
	font-weight: 600;
}

.ag-sp-features__panel {
	display: none;
	color: rgba(255,255,255,0.65);
	line-height: 1.9;
	font-size: 0.95rem;
}
.ag-sp-features__panel.is-active {
	display: block;
	animation: agFadeIn 0.3s ease;
}
@keyframes agFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Attributes table */
.ag-sp-attrs-table {
	width: 100%;
	border-collapse: collapse;
}
.ag-sp-attrs-table th,
.ag-sp-attrs-table td {
	padding: 14px 18px;
	text-align: right;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	font-size: 0.9rem;
}
.ag-sp-attrs-table th {
	color: rgba(255,255,255,0.5);
	font-weight: 500;
	width: 30%;
}
.ag-sp-attrs-table td {
	color: #fff;
}

/* ============================================================
   WOOCOMMERCE TABS
   ============================================================ */
.ag-sp-tabs {
	background: #111;
	padding: 60px 0;
	border-top: 1px solid rgba(255,255,255,0.04);
}
.ag-sp-tabs__nav {
	display: flex;
	gap: 6px;
	margin-bottom: 28px;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	padding-bottom: 0;
}
.ag-sp-tabs__btn {
	position: relative;
	padding: 12px 24px;
	background: transparent;
	border: none;
	color: rgba(255,255,255,0.5);
	font-family: 'Vazirmatn', sans-serif;
	font-size: 0.92rem;
	font-weight: 500;
	cursor: pointer;
	transition: color 0.25s ease;
}
.ag-sp-tabs__btn::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #d4af37, #f3d37a);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}
.ag-sp-tabs__btn:hover {
	color: #fff;
}
.ag-sp-tabs__btn.is-active {
	color: #d4af37;
	font-weight: 600;
}
.ag-sp-tabs__btn.is-active::after {
	transform: scaleX(1);
}
.ag-sp-tabs__panel {
	display: none;
	color: rgba(255,255,255,0.65);
	line-height: 1.9;
	font-size: 0.95rem;
}
.ag-sp-tabs__panel.is-active {
	display: block;
	animation: agFadeIn 0.3s ease;
}

/* ============================================================
   WOOCOMMERCE REVIEW FORM
   ============================================================ */
#reviews #respond {
	--ag-review-star-outline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.56L12 17.53l-5.88 3.09 1.12-6.56-4.76-4.64 6.58-.96L12 2.5z' fill='none' stroke='%23d4af37' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E");
	--ag-review-star-filled: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.94 5.96 6.58.96-4.76 4.64 1.12 6.56L12 17.53l-5.88 3.09 1.12-6.56-4.76-4.64 6.58-.96L12 2.5z' fill='%23d4af37' stroke='%23f3d37a' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
	color-scheme: dark;
	margin-top: 28px;
	padding: clamp(20px, 3vw, 32px);
	background: linear-gradient(145deg, rgba(34,34,34,0.98), rgba(19,19,19,0.98));
	border: 1px solid rgba(212,175,55,0.16);
	border-radius: 20px;
	box-shadow: 0 18px 45px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.035);
}

#reviews #respond .comment-reply-title {
	margin: 0 0 8px;
	color: #fff;
	font-family: 'Vazirmatn', sans-serif;
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	font-weight: 700;
}

#reviews #respond .comment-notes {
	margin: 0 0 22px;
	color: rgba(255,255,255,0.52);
	font-size: 0.82rem;
}

#reviews #respond .comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 16px;
	direction: rtl;
}

#reviews #respond .comment-form > p,
#reviews #respond .comment-form > div {
	margin: 0;
}

#reviews #respond .comment-form-rating,
#reviews #respond .comment-form-comment,
#reviews #respond .comment-form-cookies-consent,
#reviews #respond .form-submit {
	grid-column: 1 / -1;
}

#reviews #respond .comment-form-author {
	grid-column: 1;
}

#reviews #respond .comment-form-email {
	grid-column: 2;
}

#reviews #respond .comment-form label {
	display: block;
	margin: 0 0 8px;
	color: rgba(255,255,255,0.72);
	font-size: 0.84rem;
	font-weight: 600;
}

#reviews #respond .comment-form .required {
	color: #f3d37a;
	font-weight: 700;
	text-decoration: none;
	visibility: visible;
}

#reviews #respond .comment-form input[type='text'],
#reviews #respond .comment-form input[type='email'],
#reviews #respond .comment-form textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 12px;
	outline: none;
	background: rgba(255,255,255,0.045);
	color: #fff;
	font: 400 0.9rem/1.7 'Vazirmatn', sans-serif;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#reviews #respond .comment-form textarea {
	min-height: 156px;
	resize: vertical;
}

#reviews #respond .comment-form input::placeholder,
#reviews #respond .comment-form textarea::placeholder {
	color: rgba(255,255,255,0.32);
}

#reviews #respond .comment-form input:hover,
#reviews #respond .comment-form textarea:hover {
	border-color: rgba(212,175,55,0.34);
	background: rgba(255,255,255,0.06);
}

#reviews #respond .comment-form input:focus,
#reviews #respond .comment-form textarea:focus {
	border-color: rgba(212,175,55,0.8);
	background: rgba(255,255,255,0.07);
	box-shadow: 0 0 0 4px rgba(212,175,55,0.12), inset 0 1px 0 rgba(255,255,255,0.035);
}

#reviews #respond .comment-form input:-webkit-autofill,
#reviews #respond .comment-form input:-webkit-autofill:hover,
#reviews #respond .comment-form input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff;
	-webkit-box-shadow: 0 0 0 1000px #202020 inset, 0 0 0 4px rgba(212,175,55,0.08);
	transition: background-color 9999s ease-out;
}

/* WooCommerce keeps the accessible rating copy in the anchors; the copy is
   visually replaced by a scalable inline SVG star while remaining available
   to assistive technology and the built-in rating script. */
#reviews #respond p.stars {
	display: block;
	margin: 0;
}

#reviews #respond p.stars > span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	direction: rtl;
}

#reviews #respond p.stars a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(212,175,55,0.18);
	border-radius: 12px;
	background: rgba(255,255,255,0.035);
	color: transparent;
	font-size: 0;
	line-height: 1;
	text-indent: -9999px;
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.025);
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#reviews #respond p.stars a::before {
	content: '';
	position: absolute;
	inset: 9px;
	background: var(--ag-review-star-outline) center / contain no-repeat;
	transform: scale(0.92);
	transition: background-image 0.2s ease, transform 0.2s ease;
}

#reviews #respond p.stars a:hover,
#reviews #respond p.stars a:focus-visible,
#reviews #respond p.stars a.active {
	border-color: rgba(212,175,55,0.82);
	background: rgba(212,175,55,0.12);
	box-shadow: 0 8px 20px rgba(212,175,55,0.12), 0 0 0 3px rgba(212,175,55,0.08);
	transform: translateY(-2px);
}

#reviews #respond p.stars a:hover::before,
#reviews #respond p.stars a:focus-visible::before,
#reviews #respond p.stars.selected a::before {
	background-image: var(--ag-review-star-filled);
	transform: scale(1);
}

#reviews #respond p.stars:hover a::before {
	background-image: var(--ag-review-star-filled);
}

#reviews #respond p.stars:hover a:hover ~ a::before,
#reviews #respond p.stars.selected a.active ~ a::before {
	background-image: var(--ag-review-star-outline);
	transform: scale(0.92);
}

#reviews #respond p.stars a:focus-visible {
	outline: 2px solid #f3d37a;
	outline-offset: 3px;
}

#reviews #respond .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	background: rgba(255,255,255,0.025);
}

#reviews #respond .comment-form-cookies-consent input[type='checkbox'] {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: #d4af37;
}

#reviews #respond .comment-form-cookies-consent label {
	margin: 0;
	color: rgba(255,255,255,0.56);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.8;
	cursor: pointer;
}

#reviews #respond .form-submit {
	display: flex;
	justify-content: flex-start;
	padding-top: 2px;
}

#reviews #respond .form-submit input[type='submit'] {
	min-width: 132px;
	min-height: 50px;
	padding: 11px 28px;
	border: 1px solid rgba(243,211,122,0.35);
	border-radius: 12px;
	background: linear-gradient(135deg, #d4af37, #f3d37a);
	color: #1a1a1a;
	font: 700 0.92rem/1.4 'Vazirmatn', sans-serif;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(212,175,55,0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#reviews #respond .form-submit input[type='submit']:hover,
#reviews #respond .form-submit input[type='submit']:focus-visible {
	filter: brightness(1.05);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(212,175,55,0.28);
}

#reviews #respond .form-submit input[type='submit']:focus-visible {
	outline: 2px solid #f3d37a;
	outline-offset: 3px;
}

/* Review list */
.ag-sp-tabs .woocommerce-Reviews .commentlist {
	list-style: none;
	padding: 0;
}
.ag-sp-tabs .woocommerce-Reviews .comment {
	padding: 20px 0;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ag-sp-tabs .woocommerce-Reviews .comment-text {
	color: rgba(255,255,255,0.7);
}

@media (max-width: 640px) {
	#reviews #respond {
		padding: 20px 16px;
		border-radius: 16px;
	}

	#reviews #respond .comment-form {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	#reviews #respond .comment-form-author,
	#reviews #respond .comment-form-email {
		grid-column: 1 / -1;
	}

	#reviews #respond p.stars > span {
		gap: 6px;
	}

	#reviews #respond p.stars a {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}

	#reviews #respond p.stars a::before {
		inset: 8px;
	}

	#reviews #respond .form-submit input[type='submit'] {
		width: 100%;
	}
}

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.ag-sp-related {
	background: #0f0f0f;
	padding: 60px 0;
	border-top: 1px solid rgba(255,255,255,0.04);
}
.ag-sp-related__title {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 32px;
}
.ag-sp-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.ag-sp-related__card {
	background: #1a1a1a;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.06);
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ag-sp-related__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.ag-sp-related__img {
	aspect-ratio: 1;
	overflow: hidden;
	background: #222;
}
.ag-sp-related__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.ag-sp-related__card:hover .ag-sp-related__img img {
	transform: scale(1.05);
}
.ag-sp-related__info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.ag-sp-related__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 0.82rem;
	color: rgba(255,255,255,0.5);
}
.ag-sp-related__info h3 {
	font-family: 'Vazirmatn', sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
	margin: 0;
}
.ag-sp-related__price {
	font-size: 0.92rem;
	font-weight: 600;
	color: rgba(255,255,255,0.8);
}
.ag-sp-related__price del {
	color: rgba(255,255,255,0.35);
	margin-right: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
	.ag-sp-main__layout {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.ag-sp-gallery {
		position: relative;
		top: 0;
	}
	.ag-sp-related__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	.ag-sp-main {
		padding: 32px 0 40px;
	}
	.ag-sp-main__layout {
		gap: 28px;
	}
	.ag-sp-info__meta {
		gap: 16px;
	}
	.ag-sp-attribute-group {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}
	.ag-sp-attribute-group__choices {
		width: 100%;
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 3px;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.ag-sp-attribute-group__choices::-webkit-scrollbar {
		display: none;
	}
	.ag-sp-trust {
		gap: 14px;
	}
	.ag-sp-cart {
		flex-wrap: wrap;
	}
	.ag-sp-cart__qty {
		flex: 0 0 auto;
	}
	.ag-sp-add-btn {
		flex: 1 1 100%;
	}
	.ag-sp-related__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
	.ag-sp-features__tabs-nav,
	.ag-sp-tabs__nav {
		overflow-x: auto;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
	.ag-sp-features__tabs-nav::-webkit-scrollbar,
	.ag-sp-tabs__nav::-webkit-scrollbar {
		display: none;
	}
}
@media (max-width: 480px) {
	.ag-sp-gallery__thumbs {
		gap: 6px;
	}
	.ag-sp-gallery__thumb {
		width: 60px;
		height: 60px;
	}
	.ag-sp-related__grid {
		grid-template-columns: 1fr;
	}
	.ag-sp-breadcrumb .ag-container {
		font-size: 0.8rem;
	}
}
