﻿/* Product Page Specific Styles */
/* Hero Section */
.page-hero {
position: relative;
height: 350px;
display: flex;
align-items: center;
color: white;
overflow: hidden;
}
.page-hero-bg {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
z-index: 0;
}
.page-hero-bg::after {
content: '';
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.7);
/* Dark overlay */
}
.page-hero-content {
position: relative;
z-index: 10;
}
.breadcrumb {
font-size: 0.85rem;
opacity: 0.8;
margin-bottom: 0.5rem;
color: white;
}
.breadcrumb a:hover {
text-decoration: underline;
opacity: 1;
}
.breadcrumb span {
margin: 0 0.5rem;
opacity: 0.5;
}
/* Product Detail Layout */
.product-detail-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: start;
}
@media (max-width: 900px) {
.product-detail-grid {
grid-template-columns: 1fr;
/* Stack on smaller screens */
gap: 2rem;
}
}
.product-main-image {
width: 100%;
border-radius: var(--radius);
margin-bottom: 1rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.prod-thumbs {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.prod-thumb {
width: 80px;
height: 80px;
object-fit: cover;
border-radius: var(--radius);
cursor: pointer;
border: 1px solid var(--border);
transition: 0.3s;
}
.prod-thumb:hover,
.prod-thumb.active {
border-color: var(--primary);
transform: translateY(-2px);
}
/* Technical Specs Table */
.spec-caption {
margin-bottom: 1.5rem;
}
.spec-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 2rem;
border: 1px solid var(--border);
}
.spec-table td {
padding: 1rem;
border-bottom: 1px solid var(--border);
}
.spec-table tr:last-child td {
border-bottom: none;
}
.spec-table td:first-child {
font-weight: 600;
color: var(--primary);
width: 40%;
background-color: var(--bg-section);
}
/* Call to Action Buttons */
.product-actions {
margin-top: 3rem;
display: flex;
gap: 1rem;
}
/* Category Grid (for index pages) */
.product-category-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
}
/* Technical Overview Grid (for index pages) */
.tech-overview-wrapper {
margin-top: 4rem;
}
.tech-overview-container {
background: white;
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.tech-table-header {
background: var(--bg-section);
}
.tech-table-header th {
padding: 1rem;
text-align: left;
border-bottom: 2px solid var(--border);
font-weight: 700;
color: var(--primary);
}
.tech-grid-2col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
}
@media (max-width: 768px) {
.tech-grid-2col {
grid-template-columns: 1fr;
gap: 2rem;
}
}
.tech-list-group h4 {
font-size: 1rem;
margin-bottom: 1rem;
color: var(--primary);
}
.tech-list-group ul {
list-style: disc;
padding-left: 1.5rem;
line-height: 1.8;
color: var(--text-dark);
}
.tech-list-group ul li {
margin-bottom: 0.5rem;
}
/* Badges */
.badge-upcoming {
background: #e63946;
color: white;
padding: 4px 12px;
font-size: 0.75rem;
font-weight: 700;
border-radius: 4px;
text-transform: uppercase;
}
.badge-new {
background: #2a9d8f;
color: white;
padding: 4px 12px;
font-size: 0.75rem;
font-weight: 700;
border-radius: 4px;
text-transform: uppercase;
}
/* Utility Classes for Hero & Buttons */
.hero-desc {
opacity: 0.9;
max-width: 600px;
margin: 1rem auto 0;
font-size: 1.1rem;
}
.btn-white-outline {
border-color: white !important;
color: white !important;
}
.btn-white-outline:hover {
background: white !important;
color: #333 !important;
}
/* Generic Technical Specs Table (Index Pages) */
.tech-specs-table {
width: 100%;
border-collapse: collapse;
}
.tech-specs-table th {
padding: 1rem;
text-align: left;
border-bottom: 2px solid var(--border);
font-weight: 700;
color: var(--primary);
background: var(--bg-section);
}
.tech-specs-table td {
padding: 1rem;
border-bottom: 1px solid var(--border);
}
.tech-specs-wrapper {
background: white;
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
