/* 
   Premium Product Detail Styles - DKM Sirsa 
*/

:root {
    --orange-start: #f97316;
    --orange-end: #ea580c;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --bg-light: #f8f9fa;
    --border-color: #f3f4f6;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body { background-color: #fcfcfc; }

/* Breadcrumb */
.ecom-breadcrumb-bar {
    padding: 24px 0;
    background: transparent;
}
.ecom-breadcrumb {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}
.ecom-breadcrumb a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
.ecom-breadcrumb a:hover { color: var(--orange-start); }
.ecom-breadcrumb .current {
    color: var(--orange-start);
    font-weight: 700;
}

/* White Card Wrapper */
.ecom-white-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: 60px;
}

/* Left Gallery Row */
.gallery-wrapper {
    position: relative; /* Remove sticky since it's stacked and no longer a side col */
}

.ecom-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
    padding-bottom: 8px;
}
.ecom-thumbnails::-webkit-scrollbar { height: 4px; }
.ecom-thumbnails::-webkit-scrollbar-thumb { background-color: #e5e7eb; border-radius: 10px; }

.ecom-thumb {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: #fdfdfd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    flex-shrink: 0;
}
.ecom-thumb:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,0.05); }
.ecom-thumb.active {
    border-color: var(--orange-start);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}
.ecom-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}
.ecom-thumb.active img, .ecom-thumb:hover img { opacity: 1; }

.ecom-thumb-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.2rem;
    pointer-events: none; border-radius: 12px;
}

/* Main Image */
.ecom-main-image-wrap {
    flex-grow: 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color);
    height: 400px;
    position: relative;
}

/* Right Details */
.ecom-product-info { padding-left: 10px; }

.ecom-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.ecom-rating {
    font-size: 13px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
}
.ecom-rating i { color: #f59e0b; margin-right: 2px; }
.ecom-review-count { color: var(--text-muted); font-weight: 600; margin-left: 6px; }

.ecom-short-desc p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}
.read-full-link {
    color: var(--orange-start);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}
.read-full-link:hover { color: var(--orange-end); }

/* Actions */
.ecom-actions {
    display: flex;
    flex-direction: column;
}

.ecom-btn-primary {
    background: linear-gradient(135deg, var(--orange-start) 0%, var(--orange-end) 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}
.ecom-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

.ecom-btn-secondary {
    background: #fff;
    color: var(--text-dark) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
}
.ecom-btn-secondary:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}

.ecom-btn-icon {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--text-muted);
    cursor: pointer; transition: var(--transition);
    flex-shrink: 0;
}
.ecom-btn-icon:hover { border-color: #ef4444; color: #ef4444; background: #fef2f2; }
.ecom-btn-icon i.fas { color: #ef4444; }

/* Accordions */
.ecom-accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.ecom-accordion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    background: #fff;
    padding: 18px 24px;
    box-shadow: none !important;
}
.ecom-accordion-button:not(.collapsed) {
    color: var(--text-dark);
    background: #fdfdfd;
    border-bottom: 1px solid #f3f4f6;
}
.ecom-accordion-button::after {
    background-size: 12px;
}
.ecom-accordion-body {
    padding: 24px;
    background: #fdfdfd;
}

.highlight-pill {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.highlight-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 700; }
.highlight-value { font-size: 15px; color: var(--text-dark); font-weight: 600; }

.ecom-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ecom-list li {
    font-size: 14.5px;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}
.ecom-list li i {
    color: var(--text-muted);
    font-size: 16px;
    margin-right: 12px;
    margin-top: 3px;
}

/* Bottom Sections */
.bg-light-grey {
    background-color: #f8f9fa;
}
.bottom-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.bottom-section-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: var(--orange-start);
}

.premium-text-formatting {
    font-size: 15.5px;
    line-height: 1.8;
    color: #4b5563;
}
.premium-text-formatting p { margin-bottom: 20px; }
.premium-text-formatting strong { color: var(--text-dark); }
.premium-text-formatting ul { margin-bottom: 20px; padding-left: 20px; }
.premium-text-formatting ul li { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 991.98px) {
    .ecom-white-card { padding: 32px 24px; }
    .col-lg-6.d-flex.gap-4 { flex-direction: column-reverse; }
    .gallery-wrapper { position: relative; top: 0; }
    .ecom-thumbnails {
        width: 100%; flex-direction: row; padding-right: 0; padding-bottom: 6px;
        overflow-x: auto; overflow-y: hidden;
    }
    .ecom-thumb { width: 80px; height: 80px; flex-shrink: 0; }
    .ecom-main-image-wrap { height: 400px; }
    .ecom-product-info { padding-left: 0; margin-top: 24px; }
    .ecom-title { font-size: 32px; }
}
@media (max-width: 575.98px) {
    .ecom-white-card { padding: 24px 16px; border-radius: 20px; }
    .action-row { flex-direction: column; }
    .ecom-btn-icon { width: 100%; height: 50px; }
    .ecom-main-image-wrap { height: 320px; }
    .ecom-feature-box { padding: 24px; }
}
