/* Product Detail Page Specific Styles */

.pd-banner {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.pd-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.pd-banner .container {
    position: relative;
    z-index: 1;
}

.pd-banner__content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.pd-banner__breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.pd-banner__breadcrumb a {
    color: #fff;
    transition: color 0.3s;
}

.pd-banner__breadcrumb a:hover {
    color: #EF7721;
}

.pd-banner__breadcrumb span {
    margin: 0 10px;
}

.pd-page {
    padding: 80px 0;
    background: #fcfcfc;
}

.pd-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.pd-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.pd-sidebar__box {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.pd-sidebar__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.pd-sidebar__title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #EF7721;
}

.pd-category {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pd-category li {
    margin-bottom: 10px;
}

.pd-category li:last-child {
    margin-bottom: 0;
}

.pd-category a {
    display: block;
    padding: 12px 20px;
    color: #555;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.pd-category a:hover {
    background: #fff3eb;
    color: #EF7721;
    border-left-color: #EF7721;
}

.pd-category li.active a {
    background: #EF7721;
    color: #fff;
    border-left-color: #d86515;
    font-weight: 500;
}

.pd-contact-mini {
    color: #666;
    font-size: 14px;
}

.pd-contact-mini .mini-item {
    margin-bottom: 15px;
}

.pd-contact-mini strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.pd-contact-mini p {
    color: #EF7721;
    font-size: 16px;
    font-weight: 600;
}

.pd-btn-outline {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 24px;
    border: 1px solid #EF7721;
    color: #EF7721;
    border-radius: 99px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
}

.pd-btn-outline:hover {
    background: #EF7721;
    color: #fff;
}

/* Main Content Area */
.pd-main {
    flex-grow: 1;
    min-width: 0;
}

/* Product Overview (Top part: Image + Info) */
.pd-overview {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.02);
}

.pd-gallery {
    width: 45%;
    flex-shrink: 0;
}

.pd-gallery__main {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #f0f0f0;
}

.pd-gallery__main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.pd-gallery__main:hover img {
    transform: scale(1.05);
}

.pd-info {
    flex-grow: 1;
}

.pd-info__title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.pd-info__desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.pd-info__specs {
    background: #f8f9fa;
    padding: 28px 32px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.pd-info__specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pd-info__specs li {
    font-size: 16px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.pd-info__specs li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pd-info__specs li:first-child {
    padding-top: 0;
}

.pd-info__specs li span {
    color: #888;
    min-width: 100px;
    flex-shrink: 0;
    display: inline-block;
    font-size: 15px;
}

.pd-info__action {
    display: flex;
    gap: 15px;
}

.pd-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #EF7721;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    border: 1px solid #EF7721;
}

.pd-btn-primary:hover {
    background: #d86515;
    border-color: #d86515;
    box-shadow: 0 5px 15px rgba(239, 119, 33, 0.3);
}

.pd-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #555;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.pd-btn-secondary:hover {
    border-color: #EF7721;
    color: #EF7721;
    background: #fff3eb;
}

/* Tabs & Rich Content */
.pd-content {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.02);
    margin-bottom: 50px;
    overflow: hidden;
}

.pd-tabs__nav {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.pd-tabs__nav span {
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.pd-tabs__nav span:hover {
    color: #EF7721;
}

.pd-tabs__nav span.active {
    color: #EF7721;
    background: #fff;
}

.pd-tabs__nav span.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #EF7721;
}

.pd-tabs__body {
    padding: 40px;
}

.pd-rich-text {
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.pd-rich-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.pd-rich-text h3 {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    margin: 30px 0 15px;
    padding-left: 15px;
    position: relative;
}

.pd-rich-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: #EF7721;
    border-radius: 2px;
}

.pd-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.pd-rich-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pd-rich-text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.pd-rich-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #EF7721;
    border-radius: 50%;
}

/* Related Products */
.pd-related__title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.pd-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pd-related-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s;
}

.pd-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(239, 119, 33, 0.1);
    border-color: rgba(239, 119, 33, 0.2);
}

.pd-related-card__img {
    display: block;
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
}

.pd-related-card__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pd-related-card:hover .pd-related-card__img img {
    transform: scale(1.1);
}

.pd-related-card h4 {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.pd-related-card h4 a {
    color: #333;
    transition: color 0.3s;
}

.pd-related-card:hover h4 a {
    color: #EF7721;
}
