/*!
Theme Name: fastest chocolate
Theme URI: http://underscores.me/
Author: Md. Saiduzzaman
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fastest
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

fastest theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   Thank You Page Styles
=============================================================================== */

/* ===== THANK YOU PAGE WRAPPER ===== */
.woocommerce-order {
	max-width: 900px;
	margin: 40px auto;
	padding: 30px;
	background: #ffffff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== SUCCESS MESSAGE ===== */
.woocommerce-thankyou-order-received {
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	color: #16a34a;
	margin-bottom: 25px;
}

/* ===== ORDER OVERVIEW BOX ===== */
.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 15px;
	background: #f9fafb;
	padding: 20px;
	border-radius: 12px;
	margin-bottom: 30px;
	margin-left: 0px;
}

.woocommerce-order-overview li {
	list-style: none;
	font-size: 14px;
	color: #6b7280;
}

/* hide order id */
li.woocommerce-order-overview__order.order {
	display: none;
}

.woocommerce-order-overview li strong {
	display: block;
	font-size: 16px;
	color: #111827;
	margin-top: 4px;
}

/* ===== SECTION HEADINGS ===== */
.woocommerce-order-details h2,
.woocommerce-customer-details h2 {
	font-size: 18px;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e5e7eb;
	color: #111827;
}

/* ===== ORDER DETAILS TABLE ===== */
.woocommerce-order-details table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
	border-radius: 10px;
	overflow: hidden;
}

.woocommerce-order-details th,
.woocommerce-order-details td {
	padding: 14px 16px;
	font-size: 14px;
	border-bottom: 1px solid #e5e7eb;
}

.woocommerce-order-details th {
	background: #f3f4f6;
	text-align: left;
	font-weight: 600;
	color: #374151;
}

.woocommerce-order-details td {
	color: #111827;
}

/* ===== TOTAL ROW HIGHLIGHT ===== */
.woocommerce-order-details tfoot tr:last-child th,
.woocommerce-order-details tfoot tr:last-child td {
	font-size: 16px;
	font-weight: 700;
	color: #16a34a;
}

/* ===== CUSTOMER DETAILS ===== */
.woocommerce-customer-details {
	margin-top: 30px;
}

.woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.woocommerce-column__title {
	font-size: 16px;
	margin-bottom: 10px;
	color: #111827;
}

.woocommerce-customer-details address {
	background: #f9fafb;
	padding: 16px;
	border-radius: 10px;
	font-style: normal;
	font-size: 14px;
	line-height: 1.7;
	color: #374151;
}

/* ===== PAYMENT METHOD BADGE ===== */
.woocommerce-order-overview__payment-method strong {
	display: inline-block;
	background: #e0f2fe;
	color: #0369a1;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 600px) {
	.woocommerce-order {
		padding: 20px;
		margin: 20px;
	}

	.woocommerce-thankyou-order-received {
		font-size: 20px;
	}
}


/* =====youtube video css ===== */
.youtube-thumbnail-container {
	position: relative;
	width: 100%;
	height: auto;
	cursor: pointer;
}

#youtube-thumbnail {
	width: 100%;
	height: 100%;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
}

.play-button img {
	width: 100px;
	height: 100px;
}

/* Modal Styles */
.video-modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	/* Dark background */
	justify-content: center;
	align-items: center;
}

.close-modal {
	position: absolute;
	top: 15px;
	right: 15px;
	color: white;
	font-size: 30px;
	cursor: pointer;
}

