/* ============================================
   Kadir & Sons — Product Detail Page
   Direction: Industrial Precision
   Dark buy-box, yellow price accent, sharp edges
   ============================================ */

/* ---- Page Zone ---- */
.product-page > div {
    background: #f5f4f1;
}

/* ---- Breadcrumb ---- */
.breadcrumb-link {
    color: #6b7280;
    font-size: 0.82rem;
    letter-spacing: 0.2px;
}
.breadcrumb-current {
    font-size: 0.82rem;
    color: #2b2928;
    font-weight: 700;
}

/* ---- Gallery ---- */
.gallery-main {
    
}
.gallery-image-wrap {
    background: #fff;
    padding: 8px;
}
.gallery-main-image {
    background: #fff;
}
.gallery-thumbnail {
    border-radius: 0;
}
.thumbnail-item {
    border-radius: 4px !important;
    border-color: #e2e0db !important;
    background: #fff !important;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: #fceb04 !important;
    box-shadow: 0 0 0 2px rgba(252,235,4,0.35);
}
.thumbnail-item img {
    object-fit: contain !important;
    padding: 4px;
}
.gallery-zoom-hint {
    border-radius: 0;
    background: rgba(43,41,40,0.85);
    letter-spacing: 0.5px;
}

/* ---- Brand Badge ---- */
.product-brand {
    display: inline-flex !important;
    align-items: center;
    padding: 0;
    border-radius: 0 !important;
    font-size: 0.7rem;
    margin: 0;
    border: none;
}

/* ---- Title ---- */
.product-title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    color: #1a1918 !important;
    letter-spacing: -0.2px;
    margin-bottom: 12px !important;
}

/* ---- Rating ---- */
.product-rating {
    margin-bottom: 16px;
}
.stars { gap: 3px; }
.star.filled { color: #f59e0b; }
.rating-text {
    font-size: 0.8rem;
    color: #9ca3af;
    border-left: 1px solid #e5e7eb;
    padding-left: 10px;
}

/* ---- Price Block ---- */
.product-price-wrap {
    background: #fff;
    border: none !important;
    
    gap: 14px !important;
   
}
.price-current {
    font-size: 2.4rem !important;
    font-weight: 800;
    color: #2b2928 !important;
    line-height: 1;
}
.price-original {
    font-size: 1.15rem;
    color: #9ca3af;
    text-decoration: line-through;
    align-self: flex-end;
    padding-bottom: 4px;
}
.price-discount {
    color: #2b2928 !important;
}
.price-save {
    background: #fceb04;
    color: #2b2928;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 0;
    letter-spacing: 0.5px;
    align-self: flex-end;
    padding-bottom: 8px;
}

/* ---- Product Meta ---- */
.product-meta {
    margin-bottom: 20px;
    /* border: 1px solid #e8e6e1; */
    background: #252322;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}
.meta-row {
   
    padding: 10px 16px !important;
    justify-content: flex-start !important;
    gap: 0;
    border-bottom: 1px solid #4d4d4da1;
}
.meta-row:last-child {
    border-bottom: none !important;
}
.meta-label {
    width: 120px;
    flex-shrink: 0;
    font-size: 0.8rem !important;
    font-weight: 700;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.meta-value {
    font-size: 0.88rem !important;
    color: white !important;
    font-weight: 500;
}
.stock-in { color: #059669 !important; font-weight: 700; }
.stock-out { color: #dc2626 !important; font-weight: 700; }

/* ---- Trust Badges — Dark Strip ---- */
.trust-badges {
    background: #2b2928;
    border-radius: 0 !important;
    padding: 16px 20px !important;
    gap: 0 !important;
    margin-bottom: 20px;
    justify-content: space-between;
}
.trust-badge {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    color: #d1d5db !important;
    flex: 1;
    text-align: center;
    padding: 4px 8px;
   
}
.trust-badge:last-child { border-right: none; }
.trust-badge svg {
    color: #fceb04 !important;
    width: 22px !important;
    height: 22px !important;
}
.trust-badge span {
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* ---- Buy Box — Industrial Dark ---- */
.buy-box {
    background: #2b2928 !important;
    border: none !important;
    border-radius: 10px;
    padding: 40px !important;
}
.qty-row { margin-bottom: 16px; }
.qty-label {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.qty-control {
    border-color: rgba(255,255,255,0.15) !important;
    border-radius: 0 !important;
}
.qty-btn {
    background: rgba(255,255,255,0.07) !important;
    color: rgba(255,255,255,0.8) !important;
    transition: background 0.15s, color 0.15s !important;
}
.qty-btn:hover {
    background: #fceb04 !important;
    color: #2b2928 !important;
}
.qty-input {
    background: rgba(255,255,255,0.04) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.15) !important;
    font-weight: 700;
}

/* Add to Cart — Yellow, full-width, strong */
.btn-add-cart {
    background: #fceb04 !important;
    color: #2b2928 !important;
    border-radius: 0 !important;
    padding: 18px 24px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    border: none !important;
    transition: background 0.15s, transform 0.1s !important;
    margin-bottom: 10px;
}
.btn-add-cart:hover:not(:disabled) {
    background: #fff !important;
    color: #2b2928 !important;
    transform: translateY(-1px);
}
.btn-add-cart:active:not(:disabled) {
    transform: translateY(0);
}
.btn-add-cart:disabled,
.btn-add-cart.disabled {
    background: rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.35) !important;
    opacity: 1 !important;
}

/* WhatsApp button */
.btn-whatsapp {
    border-radius: 0 !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-top: 0 !important;
}

/* Share row */
.share-row {
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
}
.share-label { color: rgba(255,255,255,0.4) !important; }
.share-btn {
    color: rgba(255,255,255,0.6) !important;
    border-color: rgba(255,255,255,0.15) !important;
    border-radius: 0 !important;
}
.share-btn:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}

/* ---- Product Details Section — 2-column flat layout ---- */
.pd-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
}
@media (min-width: 992px) {
    .pd-section {
        grid-template-columns: 58% 1fr;
        gap: 20px;
        align-items: start;
    }
}

/* Shared panel header */
.pd-header {
    background: #2b2928;
    padding: 14px 20px;
   
    margin-bottom: 0;
}
.pd-header-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Description panel */
.pd-description {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pd-description .pd-body {
    padding: 28px 28px 32px;
}
.prose {
    color: #4b5563;
    line-height: 1.85;
    font-size: 0.95rem;
}

/* Right sidebar: stacked panels */
.pd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pd-panel {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Specs table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.spec-table tr {
    border-bottom: 1px solid #f0eee9;
}
.spec-table tr:last-child { border-bottom: none; }
.spec-table th,
.spec-table td {
    padding: 11px 20px;
    text-align: left;
}
.spec-table th {
    width: 38%;
    color: #6b7280;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fafaf7;
}
.spec-table td {
    color: #2b2928;
    font-weight: 500;
}

/* Delivery list */
.delivery-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.delivery-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0eee9;
}
.delivery-list li:last-child { border-bottom: none; }
.delivery-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #2b2928;
    display: flex;
    align-items: center;
    justify-content: center;
}
.delivery-icon svg { color: #fceb04; }
.delivery-list li > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.delivery-list strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: #2b2928;
    display: block;
}
.delivery-list span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* ---- Related Products ---- */
.related-products {
    margin-top: 8px;
}
.related-products .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2b2928;
    padding: 18px 28px;
    margin-bottom: 24px;
}
.related-products .section-title {
    color: #fceb04 !important;
    font-size: 1.1rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 800;
}
.related-products .section-link {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.related-products .section-link:hover {
    color: #fceb04 !important;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px) {
    .related-grid { grid-template-columns: repeat(4, 1fr); }
}
.related-card {
    background: #fff;
    border: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.related-card:hover {
    border-color: #fceb04;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.related-card-link { text-decoration: none; display: block; }
.related-card-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f4f3f0;
}
.related-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
}
.related-card:hover .related-card-image img {
    transform: scale(1.06);
}
.card-badge {
    position: absolute;
    top: 10px;
    left: 0;
    background: #fceb04;
    color: #2b2928;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.related-card-content { padding: 14px 16px 16px; }
.related-card-brand {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.related-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2b2928;
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.price-now {
    font-size: 1.05rem;
    font-weight: 800;
    color: #2b2928;
}
.price-was {
    font-size: 0.82rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* ---- Lightbox ---- */
.lightbox-modal {
    background: rgba(20,18,18,0.96);
    backdrop-filter: blur(8px);
}
.lightbox-close {
    background: rgba(252,235,4,0.12);
    border: 1px solid rgba(252,235,4,0.3);
    color: #fceb04;
    border-radius: 0;
}
.lightbox-close:hover {
    background: #fceb04;
    color: #2b2928;
}
.lightbox-nav {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    color: #fff;
}
.lightbox-nav:hover {
    background: #fceb04;
    border-color: #fceb04;
    color: #2b2928;
}

/* ---- Mobile CTA Bar ---- */
.mobile-cta-bar {
    background: #2b2928;
    border-top: 3px solid #fceb04;
    border-radius: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.btn-add-cart-mobile {
    background: #fceb04;
    color: #2b2928;
    border-radius: 0;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
}
.btn-add-cart-mobile:disabled { opacity: 0.4; }
.mobile-cta-bar .price-now {
    color: #fff;
    font-size: 1.2rem;
}
.mobile-cta-bar .price-was {
    color: rgba(255,255,255,0.45);
}

/* ---- Skip Link ---- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #fceb04;
    color: #2b2928;
    padding: 8px 16px;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .product-info-inner {
        position: static !important;
    }
}
@media (max-width: 767px) {
    .product-title { font-size: 1.5rem !important; }
    .price-current { font-size: 2rem !important; }
    .trust-badges { padding: 12px !important; }
    .trust-badge span { display: none; }
    .trust-badge svg { width: 26px !important; height: 26px !important; }
    .accordion-title { font-size: 0.88rem !important; }
    .related-products .section-title { font-size: 0.95rem !important; }
}
