/* ==========================================================================
   Product Details — Page Styles
   ========================================================================== */

/* Header / Breadcrumb */
.sm-header {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}
.ts-breadcrumb a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}
.ts-breadcrumb a:hover {
    color: #000;
}
.ts-sep {
    margin: 0 10px;
    color: #ccc;
}
.ts-current {
    font-weight: 600;
    color: #000;
    font-size: 0.9rem;
}

/* Image Gallery */
.sm-main-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.sm-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.sm-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #2a2a2a, #111);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}
.badge-tile { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.badge-slab { background: linear-gradient(135deg, #4b1248, #f0c27b); color: #fff; }

.sm-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.sm-thumb {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}
.sm-thumb:hover {
    opacity: 1;
}
.sm-thumb.active {
    border-color: #222;
    opacity: 1;
}

/* Product Info */
.sm-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}
.sm-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
}
.sm-unit {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}
.sm-description {
    font-size: 1rem;
    line-height: 1.6;
}

/* Specs Table */
.sm-specs {
    border-top: 1px solid #eaeaea;
    margin-top: 20px;
}
.sm-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
}
.sm-spec-label {
    color: #666;
    font-weight: 500;
}
.sm-spec-value {
    color: #111;
    font-weight: 600;
}

/* Actions */
.sm-btn-primary {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.sm-btn-secondary {
    padding: 14px 20px;
    border-radius: 8px;
}
.sm-btn-quote {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}
