/* ======================================================
   Short Dress Product Page — JANELE jaisa design
   ====================================================== */

.sd-product {
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: #1a1a1a;
}

/* Two column grid */
.sd-product-grid {
	display: grid;
	grid-template-columns: 58% 42%;
	gap: 45px;
	align-items: start;
}

/* ---------- GALLERY as 2-col image grid ---------- */
.sd-gallery .woocommerce-product-gallery { width: 100% !important; margin: 0 !important; }
.sd-gallery .woocommerce-product-gallery__wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	transform: none !important; /* flexslider inline transform ko rokta hai */
	width: 100% !important;
}
.sd-gallery .woocommerce-product-gallery__image {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
}
.sd-gallery .woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; border-radius: 4px; }
.sd-gallery .flex-control-thumbs { display: none !important; }
.sd-gallery .woocommerce-product-gallery__trigger { z-index: 5; }

/* ---------- SUMMARY (right) ---------- */
.sd-summary .product_title {
	font-size: 24px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0 0 10px;
	line-height: 1.3;
}
.sd-summary .price {
	font-size: 20px;
	color: #111;
	margin: 0 0 10px;
	font-weight: 500;
}
.sd-summary .price del { color: #999; margin-right: 8px; font-weight: 400; }
.sd-summary .price ins { text-decoration: none; color: #b12704; }

.sd-stock { font-size: 13px; color: #333; margin: 0 0 6px; }

.sd-countdown { font-size: 12px; color: #444; margin: 0 0 18px; letter-spacing: .3px; }
.sd-countdown .sd-cd-time { font-weight: 700; color: #111; }

.sd-summary .woocommerce-product-details__short-description { display: none; } /* short desc accordion me hai */

/* ---------- SIZE GUIDE link (top-right of variations) ---------- */
.sd-size-guide-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	float: right;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	color: #333;
	border-bottom: 1px solid #333;
	padding-bottom: 1px;
	margin-top: 4px;
}
.sd-size-guide-link:hover { color: #000; }

/* ---------- VARIATIONS as SWATCHES ---------- */
.sd-summary .variations { border: none; margin: 0 0 8px; width: 100%; }
.sd-summary .variations tr { display: block; margin-bottom: 16px; }
.sd-summary .variations th.label,
.sd-summary .variations td.value { display: block; padding: 0; text-align: left; }
.sd-summary .variations th.label label {
	font-weight: 600;
	text-transform: capitalize;
	font-size: 13px;
	letter-spacing: .5px;
	color: #222;
	margin-bottom: 8px;
	display: block;
}
.sd-summary .variations select { display: none; } /* JS swatches me convert */
.sd-summary .reset_variations { font-size: 11px; color: #999; margin-left: 8px; }

.sd-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-swatch {
	cursor: pointer;
	background: #fff;
	transition: all .15s ease;
	font-family: inherit;
}
/* Size pills */
.sd-swatch-size .sd-swatch {
	min-width: 46px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #ccc;
	border-radius: 22px;
	font-size: 13px;
	color: #222;
}
.sd-swatch-size .sd-swatch:hover { border-color: #111; }
.sd-swatch-size .sd-swatch.active { background: #111; color: #fff; border-color: #111; }
/* Color circles */
.sd-swatch-color .sd-swatch {
	width: 34px; height: 34px;
	border-radius: 50%;
	border: 1px solid #ddd;
	padding: 0;
	position: relative;
}
.sd-swatch-color .sd-swatch.active { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111; }
/* Color fallback (naam known na ho to text pill) */
.sd-swatch-color .sd-swatch.is-text {
	width: auto; height: 38px; border-radius: 22px; padding: 0 16px;
	font-size: 13px; color: #222;
}
.sd-swatch-color .sd-swatch.is-text.active { background: #111; color: #fff; border-color: #111; box-shadow: none; }

/* ---------- Quantity + Add to cart ---------- */
.sd-summary .quantity { display: none; } /* JANELE page pe qty box nahi dikh raha; chahiye to yeh line hata do */
.sd-summary .single_add_to_cart_button {
	display: block;
	width: 100%;
	height: 52px;
	background: #111 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	font-size: 13px;
	margin-top: 6px;
	transition: background .2s ease;
}
.sd-summary .single_add_to_cart_button:hover { background: #333 !important; }

/* ---------- "Consider your usual size" note ---------- */
.sd-usual-size { font-size: 12px; color: #333; margin: 16px 0 14px; display: flex; align-items: center; gap: 6px; }
.sd-usual-size .sd-t { background: #c0392b; color: #fff; font-weight: 700; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; font-size: 11px; }
.sd-usual-size a { color: #333; text-decoration: underline; }

/* ---------- Trust list (vertical, icons) ---------- */
.sd-trust-list { list-style: none; margin: 0 0 20px; padding: 0; }
.sd-trust-list li { font-size: 13px; color: #333; padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.sd-trust-list .ic { font-size: 15px; }

/* ---------- ACCORDIONS ---------- */
.sd-accordions { border-top: 1px solid #e5e5e5; margin-top: 10px; }
.sd-acc { border-bottom: 1px solid #e5e5e5; }
.sd-acc-head {
	width: 100%;
	background: none;
	border: none;
	padding: 16px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #222;
	text-align: left;
}
.sd-acc-ico { font-size: 18px; font-weight: 400; line-height: 1; }
.sd-acc-body { padding: 0 0 18px; font-size: 13px; line-height: 1.7; color: #555; display: none; }
.sd-acc.open .sd-acc-body { display: block; }
.sd-acc-body p { margin: 0 0 8px; }

/* ---------- YOU MAY ALSO LOVE (related) ---------- */
.related.products > h2, .up-sells > h2 {
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 22px;
	margin: 50px 0 30px;
}

/* ---------- Size guide modal ---------- */
.sd-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 99999; align-items: center; justify-content: center; }
.sd-modal.open { display: flex; }
.sd-modal-box { background: #fff; max-width: 520px; width: 90%; padding: 32px; border-radius: 8px; position: relative; max-height: 85vh; overflow: auto; }
.sd-modal-box h3 { margin-top: 0; letter-spacing: 1px; }
.sd-modal-box table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.sd-modal-box th, .sd-modal-box td { border: 1px solid #eee; padding: 9px; text-align: center; font-size: 13px; }
.sd-modal-box th { background: #fafafa; }
.sd-model-note { margin-top: 14px; font-size: 12px; color: #777; }
.sd-modal-close { position: absolute; top: 12px; right: 18px; cursor: pointer; font-size: 26px; line-height: 1; color: #888; }
.sd-modal-close:hover { color: #000; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
	.sd-product-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 480px) {
	.sd-gallery .woocommerce-product-gallery__wrapper { grid-template-columns: 1fr; }
}
