 /* 
    =====================
    This is the css file for product_details page(in the root folder).
    ====================== 
*/

 /* ======== Carousel */
 .product-carousel .carousel-inner {
     height: 350px;
 }

 .product-carousel .carousel-inner .carousel-item {
     height: 100%;
 }

 .product-img {
     height: 350px;
     width: 100%;
     object-fit: cover;
     object-position: center;
 }

 /* ======== Featured badge over image */
 .product-featured-badge {
     position: absolute;
     top: 12px;
     left: 12px;
     z-index: 10;
     background: #ffc107;
     color: #1a1200;
     font-size: 11px;
     font-weight: 700;
     padding: 4px 12px;
     border-radius: 20px;
 }

 /* ======== Thumbnail strip */
 .product-thumbs {
     display: flex;
     gap: 8px;
     margin-top: 12px;
     justify-content: center;
     flex-wrap: wrap;
 }

 .product-thumb {
     width: 54px;
     height: 54px;
     border-radius: 10px;
     overflow: hidden;
     border: 2px solid transparent;
     cursor: pointer;
     transition: border-color 0.2s ease;
     flex-shrink: 0;
 }

 .product-thumb img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .product-thumb.active,
 .product-thumb:hover {
     border-color: #198754;
 }

 /* ======== Detail card */
 .product-detail-card {
     background: #fff;
     border: 1px solid #ece9e2;
     overflow: hidden;
 }

 .pdc-top {
     padding: 1.25rem 1.25rem 0;
 }

 .pdc-divider {
     border: none;
     border-top: 1px solid #f0ede7;
     margin: 14px 0;
 }

 .pdc-seller {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 0 1.25rem;
 }

 .pdc-desc {
     padding: 0 1.25rem;
 }

 .pdc-cta {
     padding: 0 1.25rem 1.25rem;
     display: flex;
     flex-direction: column;
     gap: 8px;
 }

 /* ======== Title & price */
 .pdc-title {
     font-size: 18px;
     font-weight: 700;
     color: #1a1a1a;
     line-height: 1.35;
     margin-bottom: 8px;
 }

 .pdc-price {
     font-size: 22px;
     font-weight: 700;
     color: #198754;
     margin-bottom: 12px;
 }

 /* ======== Badges */
 .pdc-badges {
     display: flex;
     gap: 6px;
     flex-wrap: wrap;
     margin-bottom: 4px;
 }

 .pdc-badge {
     font-size: 10.5px;
     font-weight: 600;
     padding: 4px 11px;
     border-radius: 20px;
 }

 .badge-cat {
     background: #d1fae5;
     color: #065f46;
     border: 1px solid #a7f3d0;
 }

 .badge-cond {
     background: #dbeafe;
     color: #1e40af;
     border: 1px solid #bfdbfe;
 }

 .badge-feat {
     background: #ffc107;
     color: #1a1200;
 }

 /* ======== Seller */
 .pdc-avatar {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     object-fit: cover;
     border: 2px solid #198754;
     flex-shrink: 0;
 }

 .pdc-avatar-fallback {
     width: 44px;
     height: 44px;
     border-radius: 50%;
     border: 2px solid #198754;
     background: #e8f5e9;
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     font-size: 22px;
     color: #198754;
 }

 .pdc-seller-info {
     display: flex;
     flex-direction: column;
     gap: 2px;
 }

 .pdc-posted-by {
     font-size: 10.5px;
     color: #aaa;
 }

 .pdc-seller-name {
     font-size: 13.5px;
     font-weight: 700;
     color: #1a1a1a;
 }

 .pdc-seller-time {
     font-size: 11.5px;
     color: #999;
 }

 /* ======== Description */
 .pdc-desc-label {
     font-size: 11px;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.06em;
     margin-bottom: 6px;
 }

 .pdc-desc-text {
     font-size: 13.5px;
     color: #777;
     line-height: 1.7;
     margin-bottom: 16px;
 }

 /* ======== CTA buttons */
 .pdc-btn-main {
     height: 46px;
     border-radius: 25px !important;
     font-size: 14px;
     font-weight: 700;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .pdc-btn-outline {
     height: 46px;
     background: #fff !important;
     border: 1.5px solid #198754 !important;
     border-radius: 25px !important;
     font-size: 14px;
     font-weight: 600;
     color: #198754 !important;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: background 0.2s ease;
     box-shadow: none !important;
 }

 .pdc-btn-outline:hover {
     background: #f0fdf4 !important;
 }