/* ==========================================================================
   Storefront theme — Ryans-style tech e-commerce layout
   ========================================================================== */

:root{
	--shop-primary:#e31837;
	--shop-primary-dark:#c41230;
	--shop-accent:#0066b3;
	--shop-dark:#1a1f2e;
	--shop-muted:#6b7280;
	--shop-border:#e5e7eb;
	--shop-bg:#f5f6f8;
	--shop-card:#ffffff;
}

body{
	background:var(--shop-bg);
	color:#1f2937;
	font-family:"Segoe UI","Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
}
a{ color:var(--shop-accent); }
a:hover,a:focus{ color:var(--shop-primary); text-decoration:none; }

.shop-container{ max-width:1400px; padding-left:15px; padding-right:15px; }

/* ---------- Header ---------- */
.shop-topbar{
	background:var(--shop-dark);
	color:#9ca3af;
	font-size:12px;
	padding:8px 0;
}
.shop-topbar a{ color:#e5e7eb; }
.shop-topbar a:hover{ color:#fff; }
.shop-topbar .topbar-sep{ margin:0 10px; opacity:.35; }
.shop-topbar .topbar-item{ margin-right:18px; display:inline-block; }
.shop-topbar .topbar-item strong{ color:#fff; }

.shop-navbar{
	background:#fff;
	padding:14px 0 12px;
	border-bottom:1px solid var(--shop-border);
	box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.shop-navbar-inner{
	display:flex;
	align-items:center;
	gap:16px;
}
.shop-brand{ flex:0 0 auto; }
.shop-brand img{ max-height:48px; }
.shop-brand-text{
	display:inline-block;
	line-height:48px;
	font-size:22px;
	font-weight:800;
	color:var(--shop-primary);
	letter-spacing:-.5px;
}

.shop-search{ flex:1 1 auto; max-width:620px; margin:0 auto; }
.shop-search .input-group{ width:100%; }
.shop-search-cat{ width:155px; }
.shop-search-cat select{
	height:44px;
	border-right:0;
	border-radius:4px 0 0 4px;
	font-size:13px;
	background:#f9fafb;
}
.shop-search .form-control{
	height:44px;
	border-color:var(--shop-border);
	box-shadow:none;
	font-size:14px;
}
.shop-search .form-control:focus{ border-color:var(--shop-accent); }
.btn-shop-search{
	height:44px;
	background:var(--shop-primary);
	border-color:var(--shop-primary);
	color:#fff;
	font-weight:600;
	padding:0 22px;
}
.btn-shop-search:hover,.btn-shop-search:focus{
	background:var(--shop-primary-dark);
	border-color:var(--shop-primary-dark);
	color:#fff;
}

.shop-navbar-actions{ flex:0 0 auto; display:flex; align-items:center; gap:8px; }
.shop-cart-btn{
	display:inline-flex;
	align-items:center;
	gap:8px;
	height:44px;
	padding:0 18px;
	background:#fff;
	border:2px solid var(--shop-border);
	border-radius:6px;
	color:#1f2937;
	font-weight:600;
	position:relative;
	transition:border-color .15s, color .15s;
}
.shop-cart-btn:hover{
	border-color:var(--shop-primary);
	color:var(--shop-primary);
}
.cart-badge{
	background:var(--shop-primary);
	color:#fff;
	font-size:11px;
	font-weight:700;
	min-width:20px;
	height:20px;
	line-height:20px;
	text-align:center;
	border-radius:10px;
	padding:0 6px;
}
.shop-mobile-toggle{ height:44px; width:44px; padding:0; }

.shop-catnav{
	background:#fff;
	border-bottom:2px solid var(--shop-border);
}
.shop-catnav-list{
	list-style:none;
	margin:0;
	padding:0;
	display:flex;
	flex-wrap:wrap;
}
.shop-catnav-list li{ margin:0; }
.shop-catnav-list a{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:12px 16px;
	color:#374151;
	font-size:13px;
	font-weight:600;
	border-bottom:3px solid transparent;
	transition:color .15s, border-color .15s;
}
.shop-catnav-list a i{ font-size:14px; opacity:.75; }
.shop-catnav-list a .category-icon-img,
.shop-mobile-nav .category-icon-img{
	width:16px;
	height:16px;
	object-fit:contain;
	margin-right:6px;
	vertical-align:middle;
}
.shop-catnav-list a:hover,
.shop-catnav-list a.active{
	color:var(--shop-primary);
	border-bottom-color:var(--shop-primary);
}

.shop-mobile-nav{
	background:#fff;
	border-bottom:1px solid var(--shop-border);
	padding:8px 15px;
}
.shop-mobile-nav a{
	display:block;
	padding:10px 0;
	border-bottom:1px solid #f3f4f6;
	color:#374151;
	font-weight:600;
}

.shop-main{ padding:20px 0 45px; min-height:60vh; }

/* ---------- Hero split ---------- */
.shop-hero-split{ margin-bottom:18px; }
.shop-hero-slider{
	border-radius:8px;
	overflow:hidden;
	box-shadow:0 4px 20px rgba(0,0,0,.08);
}
.shop-hero-slider .carousel-inner{ border-radius:8px; }
.hero-slide{
	min-height:320px;
	position:relative;
	display:flex;
	align-items:center;
	padding:40px 44px;
	background-size:cover;
	background-position:center;
}
.hero-slide-1{ background:linear-gradient(120deg,#0f172a 0%,#1e3a5f 55%,#2563eb 100%); }
.hero-slide-2{ background:linear-gradient(120deg,#7f1d1d 0%,#b91c1c 55%,#e31837 100%); }
.hero-slide-3{ background:linear-gradient(120deg,#134e4a 0%,#0f766e 55%,#14b8a6 100%); }
.hero-slide.has-image::before{
	content:'';
	position:absolute;
	inset:0;
	background:linear-gradient(90deg, rgba(15,23,42,.82) 0%, rgba(15,23,42,.4) 55%, rgba(15,23,42,.15) 100%);
	z-index:1;
}
.hero-slide-content{
	position:relative;
	z-index:2;
	color:#fff;
	max-width:420px;
}
.hero-tag{
	display:inline-block;
	background:rgba(255,255,255,.18);
	padding:4px 12px;
	border-radius:20px;
	font-size:11px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.6px;
	margin-bottom:12px;
}
.hero-slide-content h2{
	margin:0 0 12px;
	font-size:32px;
	font-weight:800;
	line-height:1.15;
}
.hero-slide-content p{
	font-size:15px;
	opacity:.92;
	margin-bottom:20px;
	line-height:1.5;
}
.btn-hero{
	background:#fff;
	color:#1f2937;
	font-weight:700;
	border-radius:6px;
	padding:10px 24px;
	border:0;
	transition:transform .15s, box-shadow .15s;
}
.btn-hero:hover{
	color:var(--shop-primary);
	transform:translateY(-1px);
	box-shadow:0 6px 16px rgba(0,0,0,.15);
}
.shop-hero-slider .carousel-control{
	background:rgba(0,0,0,.25);
	width:42px;
	height:42px;
	top:50%;
	margin-top:-21px;
	border-radius:50%;
	line-height:42px;
	text-shadow:none;
}
.shop-hero-slider .left.carousel-control{ left:14px; }
.shop-hero-slider .right.carousel-control{ right:14px; }
.shop-hero-slider .carousel-indicators{ bottom:12px; }
.shop-hero-slider .carousel-indicators li{
	width:10px; height:10px;
	border:0; background:rgba(255,255,255,.45);
}
.shop-hero-slider .carousel-indicators .active{ background:#fff; }

.hero-side-cards{
	display:flex;
	flex-direction:column;
	gap:12px;
	height:100%;
	min-height:320px;
}
.hero-promo-card{
	flex:1;
	display:block;
	position:relative;
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	padding:22px 20px;
	overflow:hidden;
	transition:box-shadow .18s, transform .18s, border-color .18s;
	color:#1f2937;
	min-height:154px;
}
.hero-promo-card:hover{
	box-shadow:0 8px 24px rgba(0,0,0,.1);
	transform:translateY(-2px);
	border-color:#d1d5db;
	color:#1f2937;
}
.hero-promo-1{ border-left:4px solid var(--shop-accent); }
.hero-promo-2{ border-left:4px solid var(--shop-primary); }
.promo-label{
	display:block;
	font-size:11px;
	font-weight:700;
	text-transform:uppercase;
	color:var(--shop-muted);
	letter-spacing:.5px;
}
.hero-promo-card strong{
	display:block;
	font-size:20px;
	font-weight:800;
	margin:6px 0 4px;
	line-height:1.2;
}
.promo-meta{ font-size:12px; color:var(--shop-muted); }
.promo-icon{
	position:absolute;
	right:16px;
	bottom:14px;
	font-size:48px;
	opacity:.12;
	color:var(--shop-accent);
}
img.promo-icon{
	opacity:.45;
	width:56px;
	height:56px;
	object-fit:contain;
	font-size:unset;
}

/* ---------- Trust bar ---------- */
.shop-trust-bar{
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	padding:14px 10px;
	margin-bottom:24px;
}
.shop-trust-bar .trust-bar-row,
.shop-trust-bar .row{
	display:flex;
	flex-wrap:wrap;
	margin-left:-8px;
	margin-right:-8px;
}
.shop-trust-bar .trust-bar-row > [class*="col-"],
.shop-trust-bar .row > [class*="col-"]{
	float:none;
	display:flex;
	padding-left:8px;
	padding-right:8px;
}
.trust-item{
	display:flex;
	align-items:center;
	gap:12px;
	padding:8px 12px;
}
.trust-item i{
	font-size:28px;
	color:var(--shop-primary);
	width:36px;
	text-align:center;
	flex-shrink:0;
}
.trust-item strong{
	display:block;
	font-size:13px;
	color:#1f2937;
}
.trust-item span{
	display:block;
	font-size:11px;
	color:var(--shop-muted);
}

/* ---------- Sections ---------- */
.shop-section{ margin-bottom:28px; }
.section-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:16px;
}
.section-head h2{
	margin:0;
	font-size:20px;
	font-weight:800;
	color:#1f2937;
}
.section-link{
	font-size:13px;
	font-weight:600;
	color:var(--shop-accent);
}

/* ---------- Category grid ---------- */
.category-grid{
	display:flex;
	flex-wrap:wrap;
	margin-left:-7px;
	margin-right:-7px;
}
.category-grid > [class*="col-"]{
	display:flex;
	float:none;
	padding-left:7px;
	padding-right:7px;
	margin-bottom:14px;
}
.category-box{
	display:flex;
	flex-direction:column;
	align-items:center;
	text-align:center;
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	padding:18px 10px 14px;
	margin-bottom:0;
	transition:box-shadow .18s, transform .18s, border-color .18s;
	color:#1f2937;
	width:100%;
	min-height:100%;
}
.category-box:hover{
	box-shadow:0 6px 18px rgba(0,0,0,.08);
	transform:translateY(-2px);
	border-color:var(--shop-primary);
	color:#1f2937;
}
.category-icon{
	width:56px;
	height:56px;
	border-radius:50%;
	background:linear-gradient(135deg,#fef2f2,#fee2e2);
	display:flex;
	align-items:center;
	justify-content:center;
	margin-bottom:10px;
}
.category-icon i{
	font-size:24px;
	color:var(--shop-primary);
}
.category-icon .category-icon-img,
.category-icon-img{
	width:36px;
	height:36px;
	object-fit:contain;
	display:block;
}
.category-name{
	font-size:13px;
	font-weight:700;
	line-height:1.3;
	margin-bottom:4px;
}
.category-count{
	font-size:11px;
	color:var(--shop-muted);
}

/* ---------- Listing header ---------- */
.shop-listhead{
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:16px;
	flex-wrap:wrap;
	gap:10px;
}
.shop-listhead h3{
	margin:0;
	font-size:20px;
	font-weight:800;
	color:#1f2937;
}
.shop-listhead h3 small{
	font-size:13px;
	font-weight:400;
	color:var(--shop-muted);
	margin-left:6px;
}
.shop-sort{ min-width:180px; }
.shop-sort select{ border-color:var(--shop-border); }

/* ---------- Product card (grid) ---------- */
.product-grid.row,
.row.product-grid{
	display:flex;
	flex-wrap:wrap;
	align-items:stretch;
	margin-left:-8px;
	margin-right:-8px;
}
.product-grid.row:before,
.product-grid.row:after{
	display:none !important;
	content:none !important;
}
.product-grid > [class*="col-"]{
	display:flex;
	float:none;
	padding-left:8px;
	padding-right:8px;
	margin-bottom:16px;
}

.product-card{
	background:var(--shop-card);
	border:1px solid var(--shop-border);
	border-radius:8px;
	margin-bottom:0;
	transition:box-shadow .18s ease, transform .18s ease;
	width:100%;
	height:100%;
	display:flex;
	flex-direction:column;
	overflow:hidden;
}
.product-card:hover{
	box-shadow:0 8px 24px rgba(0,0,0,.08);
	transform:translateY(-3px);
}

.product-card .product-thumb{
	display:flex;
	align-items:center;
	justify-content:center;
	position:relative;
	width:100%;
	aspect-ratio:1 / 1;
	padding:12px;
	text-align:center;
	background:#fafafa;
	border-radius:8px 8px 0 0;
	min-height:0;
	overflow:hidden;
	flex-shrink:0;
}
.product-card .product-thumb img{
	width:100%;
	height:100%;
	max-width:100%;
	max-height:100%;
	object-fit:contain;
	object-position:center;
}
@supports not (aspect-ratio: 1 / 1){
	.product-card .product-thumb{
		height:0;
		padding-top:100%;
	}
	.product-card .product-thumb img{
		position:absolute;
		left:12px;
		right:12px;
		top:12px;
		bottom:12px;
		width:auto;
		height:auto;
		max-width:calc(100% - 24px);
		max-height:calc(100% - 24px);
		margin:auto;
	}
}

.badge-discount,.badge-stockout{
	position:absolute;
	top:10px;
	left:10px;
	padding:4px 9px;
	border-radius:4px;
	font-size:11px;
	font-weight:800;
	color:#fff;
	letter-spacing:.2px;
	line-height:1.2;
	box-shadow:0 2px 6px rgba(227,24,55,.25);
	z-index:2;
}
.badge-discount{ background:var(--shop-primary); }
.badge-stockout{ background:#9ca3af; left:auto; right:10px; box-shadow:none; }

.product-body{
	padding:12px 14px 14px;
	flex:1 1 auto;
	display:flex;
	flex-direction:column;
	min-height:0;
}
.product-brand{
	font-size:10px;
	text-transform:uppercase;
	letter-spacing:.5px;
	color:var(--shop-muted);
	font-weight:600;
	min-height:16px;
	line-height:16px;
}
.product-card .product-title{
	font-size:13px;
	line-height:1.35;
	min-height:42px;
	max-height:42px;
	margin:4px 0 8px;
	overflow:hidden;
	display:-webkit-box;
	-webkit-line-clamp:2;
	-webkit-box-orient:vertical;
	line-clamp:2;
}
.product-card .product-title a{
	color:#1f2937;
	font-weight:600;
	display:block;
}
.product-card .product-title a:hover{ color:var(--shop-primary); }

.product-price{ margin-bottom:10px; }
.product-price .price{
	font-size:16px;
	font-weight:800;
	color:var(--shop-primary);
}
.product-price del{
	color:#9ca3af;
	font-size:12px;
	margin-left:4px;
}

.product-actions{
	display:flex;
	gap:6px;
	margin-top:auto;
}
.product-actions .btn-details{
	flex:1;
	border-color:var(--shop-border);
	font-weight:600;
	font-size:12px;
}
.product-actions .btn-add-cart{
	width:36px;
	padding:0;
	background:var(--shop-primary);
	border-color:var(--shop-primary);
}
.product-actions .btn-add-cart:hover{
	background:var(--shop-primary-dark);
	border-color:var(--shop-primary-dark);
}

.product-warranty{ font-size:11px; color:#059669; margin:4px 0 8px; }

.product-highlights{
	list-style:none;
	margin:12px 0 6px;
	padding:0;
}
.product-highlights li{
	display:flex;
	align-items:flex-start;
	gap:8px;
	padding:5px 0;
	font-size:14px;
	color:#065f46;
	font-weight:600;
	line-height:1.35;
}
.product-highlights li i{
	color:#059669;
	margin-top:2px;
	flex-shrink:0;
}

/* ---------- Filters ---------- */
.shop-filter .panel-heading{ font-weight:700; background:#fff; }
.shop-filter .list-group-item{ border-left:0; border-right:0; font-size:13px; }
.shop-filter .list-group-item:first-child{ border-top:0; }

.shop-pagination{ margin-top:10px; }
.shop-pagination .pagination > li > a{ color:var(--shop-accent); }
.shop-pagination .pagination > .active > a{
	background:var(--shop-primary);
	border-color:var(--shop-primary);
}

/* ---------- Product detail ---------- */
.product-detail{ background:#fff; border:1px solid var(--shop-border); border-radius:8px; padding:24px; }
.product-gallery{ position:relative; text-align:center; border:1px solid #f3f4f6; border-radius:6px; padding:18px; }
.product-gallery img{ max-width:100%; max-height:360px; }

.product-title-lg,
.product-detail .product-title{ font-size:26px; font-weight:700; margin:4px 0 10px; }
.product-meta span{ margin-right:16px; font-size:13px; color:var(--shop-muted); }
.product-price-lg{ margin:14px 0; }
.product-price-lg .price{ font-size:30px; font-weight:800; color:var(--shop-primary); }
.product-price-lg del{ color:#9ca3af; font-size:17px; margin:0 8px; }
.product-warranty-box{ margin:16px 0; }

.product-buy{ margin:18px 0; }
.product-buy .qty-group{ width:132px; margin-right:10px; }
.product-buy .btn-lg{ margin-right:6px; }
.product-description{ margin-top:26px; border-top:1px solid #f3f4f6; padding-top:18px; }

/* ---------- Cart / checkout ---------- */
.cart-table > thead > tr > th{
	border-bottom:1px solid var(--shop-border);
	font-size:12px;
	text-transform:uppercase;
	color:var(--shop-muted);
}
.cart-table > tbody > tr > td{ vertical-align:middle; }
.cart-thumb{ max-width:60px; max-height:60px; }
.cart-qty{ width:80px; display:inline-block; }

.order-summary .panel-heading{ font-weight:700; background:#fff; }
.summary-table > tbody > tr > td{ border:0; padding:6px 0; }
.summary-table tr.border-top > td{ border-top:1px solid var(--shop-border) !important; padding-top:10px; }
.summary-table tr.grand > td{
	border-top:1px solid var(--shop-border) !important;
	padding-top:10px;
	font-size:18px;
	font-weight:800;
	color:#1f2937;
}

.payment-option{
	display:block;
	font-weight:400;
	border:1px solid var(--shop-border);
	border-radius:6px;
	padding:12px 14px;
	margin-bottom:10px;
	cursor:pointer;
}
.payment-option:hover{ border-color:#b9c6d6; }
.payment-option input{ margin-right:8px; }
.payment-option strong{ margin-right:6px; }
.payment-option span{ display:block; font-size:12px; margin-left:22px; }

/* ---------- Order confirmation ---------- */
.order-confirm .confirm-icon{ font-size:60px; color:#059669; margin-bottom:12px; }
.order-confirm h2{ margin-top:0; font-weight:700; }

/* ---------- Empty state ---------- */
.shop-empty{
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	padding:55px 20px;
	text-align:center;
}
.shop-empty i{ font-size:46px; color:#d1d5db; margin-bottom:14px; display:block; }
.shop-empty h4{ font-weight:700; }

/* ---------- Account ---------- */
.account-page .panel-heading{ font-weight:700; background:#fff; }

/* ---------- Footer ---------- */
.shop-footer{ background:var(--shop-dark); color:#9ca3af; padding:35px 0 18px; }
.shop-footer h4{ color:#fff; font-size:15px; font-weight:700; margin-bottom:14px; }
.shop-footer hr{ border-color:#374151; }
.footer-links li{ margin-bottom:6px; }
.footer-links a{ color:#9ca3af; font-size:13px; }
.footer-links a:hover{ color:#fff; }

/* ---------- Responsive ---------- */
@media (min-width:1200px){
	.product-grid > .col-lg-2{ width:16.66666667%; } /* 6 columns */
}
@media (max-width:991px){
	.hero-slide{ min-height:260px; padding:30px 28px; }
	.hero-slide-content h2{ font-size:26px; }
	.hero-side-cards{ min-height:auto; margin-top:12px; }
}
@media (max-width:767px){
	.shop-navbar-inner{ flex-wrap:wrap; }
	.shop-search{ order:3; width:100%; max-width:none; }
	.hero-slide{ min-height:220px; padding:24px 20px; }
	.hero-slide-content h2{ font-size:22px; }
	.trust-item{ padding:6px 4px; }
	.trust-item i{ font-size:22px; }
	.trust-item strong{ font-size:12px; }
	.category-name{ font-size:12px; }
	.category-grid > [class*="col-"]{
		min-height:0;
	}
	.category-box{
		padding:14px 8px 12px;
	}
	.product-buy .qty-group{ margin-bottom:10px; }
}

/* ---------- Mobile menu (do not use visible-xs on .collapse) ---------- */
@media (min-width:768px){
	#shop_mobile_nav{
		display:none !important;
		height:0 !important;
		overflow:hidden !important;
	}
}
@media (max-width:767px){
	#shop_mobile_nav.collapse{ display:none; height:0; overflow:hidden; }
	#shop_mobile_nav.collapse.in{ display:block; height:auto; overflow:visible; }
	#shop_mobile_nav.collapsing{ overflow:hidden; }
}

/* ---------- Live AJAX search ---------- */
.shop-search{ position:relative; }
.shop-search-suggest{
	display:none;
	position:absolute;
	left:0; right:0;
	top:100%;
	z-index:40;
	background:#fff;
	border:1px solid var(--shop-border);
	border-top:0;
	border-radius:0 0 8px 8px;
	box-shadow:0 10px 24px rgba(0,0,0,.12);
	max-height:380px;
	overflow-y:auto;
}
.shop-search-suggest.open{ display:block; }
.shop-suggest-item{
	display:flex;
	align-items:center;
	gap:10px;
	padding:8px 12px;
	color:#1f2937;
	border-bottom:1px solid #f3f4f6;
}
.shop-suggest-item:last-child{ border-bottom:0; }
.shop-suggest-item:hover,
.shop-suggest-item.active{ background:#f9fafb; color:#1f2937; }
.shop-suggest-item img{
	width:42px; height:42px;
	object-fit:contain;
	background:#fafafa;
	border:1px solid #f3f4f6;
	border-radius:4px;
	flex-shrink:0;
}
.shop-suggest-item strong{
	display:block;
	font-size:13px;
	line-height:1.3;
}
.shop-suggest-item span{
	display:block;
	font-size:12px;
	color:var(--shop-primary);
	font-weight:700;
}
.shop-suggest-empty,
.shop-suggest-more{
	padding:10px 12px;
	font-size:12px;
	color:var(--shop-muted);
}

/* ---------- Product magnifier + lightbox ---------- */
.product-zoom-wrap{ position:relative; }
.product-zoom-stage{
	position:relative;
	overflow:hidden;
	cursor:crosshair;
	background:#fafafa;
	border-radius:6px;
	min-height:280px;
	display:flex;
	align-items:center;
	justify-content:center;
}
.product-zoom-stage img{
	max-width:100%;
	max-height:360px;
	display:block;
	margin:0 auto;
	pointer-events:none;
}
.product-zoom-lens{
	display:none;
	position:absolute;
	width:140px; height:140px;
	border:1px solid rgba(227,24,55,.55);
	background:rgba(227,24,55,.12);
	pointer-events:none;
	z-index:2;
}
.product-zoom-pane{
	display:none;
	position:absolute;
	left:calc(100% + 16px);
	top:0;
	width:380px;
	height:380px;
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	overflow:hidden;
	z-index:30;
	box-shadow:0 12px 30px rgba(0,0,0,.12);
}
.product-zoom-pane img{
	position:absolute;
	max-width:none;
	max-height:none;
}
.product-zoom-open{
	position:absolute;
	right:10px; bottom:10px;
	width:36px; height:36px;
	border:0;
	border-radius:18px;
	background:rgba(26,31,46,.82);
	color:#fff;
	z-index:3;
}
.product-zoom-open:hover{ background:var(--shop-primary); color:#fff; }
.product-lightbox{
	display:none;
	position:fixed;
	inset:0;
	background:rgba(15,23,42,.92);
	z-index:2000;
	align-items:center;
	justify-content:center;
	padding:24px;
}
.product-lightbox.open{ display:flex; }
.product-lightbox img{
	max-width:92vw;
	max-height:88vh;
	object-fit:contain;
}
.product-lightbox-close{
	position:absolute;
	top:16px; right:20px;
	background:transparent;
	border:0;
	color:#fff;
	font-size:36px;
	line-height:1;
}
@media (max-width:991px){
	.product-zoom-pane,
	.product-zoom-lens{ display:none !important; }
	.product-zoom-stage{ cursor:zoom-in; }
}

.product-gallery-thumbs{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	margin-top:12px;
}
.product-gallery-thumb{
	width:68px;
	height:68px;
	padding:3px;
	border:2px solid #e5e7eb;
	border-radius:6px;
	background:#fff;
	overflow:hidden;
}
.product-gallery-thumb img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
	max-height:none;
}
.product-gallery-thumb.is-active,
.product-gallery-thumb:hover{
	border-color:var(--shop-primary);
}

/* ---------- Specs / description tabs ---------- */
.product-tabs{
	margin-top:18px;
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	padding:0 18px 18px;
}
.product-info-card{ margin-bottom:8px; }
.section-title{ font-size:20px; font-weight:800; margin:28px 0 16px; }
.product-tabs .nav-tabs{
	border-bottom:2px solid var(--shop-border);
	margin:0 -18px 0;
	padding:0 10px;
}
.product-tabs .nav-tabs > li{ margin-bottom:-2px; }
.product-tabs .nav-tabs > li > a{
	font-weight:700;
	font-size:14px;
	color:#374151;
	border:0;
	border-bottom:3px solid transparent;
	margin-right:4px;
	padding:14px 18px;
	border-radius:0;
}
.product-tabs .nav-tabs > li > a:hover{
	background:#f9fafb;
	border-color:transparent;
	color:var(--shop-primary);
}
.product-tabs .nav-tabs > li.active > a,
.product-tabs .nav-tabs > li.active > a:hover,
.product-tabs .nav-tabs > li.active > a:focus{
	border:0;
	border-bottom:3px solid var(--shop-primary);
	color:var(--shop-primary);
	background:transparent;
}
.product-tabs .tab-content{ padding:20px 6px 8px; min-height:140px; }
.product-description,
.product-specs,
.product-reviews{ line-height:1.65; color:#1f2937; margin-top:0; border-top:0; padding-top:0; }
.product-description h4{ margin-top:0; font-weight:800; }
.product-specs table,
.product-description table,
.specs-fallback{
	width:100%;
	border:1px solid var(--shop-border);
	background:#fff;
	margin:0;
}
.product-specs table th,
.product-specs table td,
.product-description table th,
.product-description table td{
	padding:10px 14px;
	border:1px solid var(--shop-border);
	font-size:13px;
	vertical-align:top;
}
.product-specs table tr:nth-child(odd) td,
.specs-fallback tr:nth-child(odd) td{ background:#fff; }
.product-specs table tr:nth-child(even) td,
.specs-fallback tr:nth-child(even) td{ background:#f9fafb; }
.product-specs table th,
.product-specs table td:first-child,
.specs-fallback th{
	width:32%;
	font-weight:700;
	color:#111827;
	background:#f3f4f6 !important;
}
.review-empty{
	text-align:center;
	padding:28px 16px 18px;
	color:var(--shop-muted);
}
.review-empty i{ font-size:32px; color:#f59e0b; display:block; margin-bottom:10px; }
.review-empty h4{ color:#1f2937; font-weight:800; margin:0 0 8px; }

/* ---------- Order lifecycle ---------- */
.order-lifecycle{
	display:flex;
	justify-content:space-between;
	gap:8px;
	margin:22px 0 8px;
	padding:0;
	list-style:none;
}
.order-lifecycle li{
	flex:1;
	text-align:center;
	position:relative;
	font-size:11px;
	font-weight:700;
	color:#9ca3af;
	text-transform:uppercase;
}
.order-lifecycle li:before{
	content:"";
	display:block;
	width:14px; height:14px;
	margin:0 auto 8px;
	border-radius:50%;
	background:#e5e7eb;
	border:2px solid #e5e7eb;
}
.order-lifecycle li:after{
	content:"";
	position:absolute;
	top:6px;
	left:calc(50% + 12px);
	right:calc(-50% + 12px);
	height:2px;
	background:#e5e7eb;
}
.order-lifecycle li:last-child:after{ display:none; }
.order-lifecycle li.done,
.order-lifecycle li.current{ color:var(--shop-primary); }
.order-lifecycle li.done:before,
.order-lifecycle li.current:before{
	background:var(--shop-primary);
	border-color:var(--shop-primary);
}
.order-lifecycle li.done:after{ background:var(--shop-primary); }
.order-lifecycle li.current:before{ box-shadow:0 0 0 4px rgba(227,24,55,.18); }
.order-lifecycle li.cancelled{ color:#dc2626; }
.order-lifecycle li.cancelled:before{ background:#dc2626; border-color:#dc2626; }
@media (max-width:767px){
	.order-lifecycle{ flex-wrap:wrap; }
	.order-lifecycle li{ flex:0 0 33.33%; margin-bottom:12px; }
	.order-lifecycle li:after{ display:none; }
}

/* ---------- Seller portal ---------- */
.seller-hero{
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	padding:28px;
	margin-bottom:20px;
}
.seller-stat{
	background:#fff;
	border:1px solid var(--shop-border);
	border-radius:8px;
	padding:18px;
	margin-bottom:16px;
}
.seller-stat span{ display:block; font-size:12px; color:var(--shop-muted); text-transform:uppercase; font-weight:700; }
.seller-stat strong{ display:block; font-size:22px; margin-top:6px; }
.seller-nav{
	background:#fff;
	border-bottom:1px solid var(--shop-border);
	margin-bottom:0;
}
.seller-nav a{
	display:inline-block;
	padding:14px 16px;
	font-weight:700;
	color:#374151;
}
.seller-nav a.active,
.seller-nav a:hover{ color:var(--shop-primary); }
