/* =====================================================
   PRODUCT PAGE STYLES - SG ENERGY 2026
   Enhanced Product Grid, Filters, Sidebar
===================================================== */

/* ===================== PRODUCT PAGE ===================== */
.product-page {
  padding: var(--spacing-3xl) 0;
  background: #fff;
}

.product-page__container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-3xl);
}

/* ===================== PRODUCT SIDEBAR ===================== */
.product-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-block {
  margin-bottom: var(--spacing-xl);
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-block.is-open .sidebar-block__body {
  max-height: 1000px;
  padding: var(--spacing-lg);
}

.sidebar-block__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.05) 0%, rgba(0, 172, 193, 0.08) 100%);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.sidebar-block__header:hover {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.1) 0%, rgba(0, 172, 193, 0.15) 100%);
}

.sidebar-block__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sidebar-block__title {
  flex: 1;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  text-align: left;
}

.sidebar-block__header .chev {
  font-size: 14px;
  color: var(--text-light);
  transition: transform var(--transition-smooth);
}

.sidebar-block.is-open .sidebar-block__header .chev {
  transform: rotate(180deg);
}

.sidebar-block__body {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

/* Sidebar Search */
.sidebar-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-search-input-wrap {
  position: relative;
}

.sidebar-search-input {
  width: 100%;
  height: 44px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--text-dark);
  background: #f8fbff;
  transition: all var(--transition-smooth);
}

.sidebar-search-input::placeholder {
  color: var(--text-lighter);
}

.sidebar-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 106, 214, 0.12);
}

.sidebar-search-btn {
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.sidebar-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Sidebar Links */
.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

.sidebar-link:hover {
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.05) 0%, rgba(0, 172, 193, 0.08) 100%);
  color: var(--primary-color);
  transform: translateX(6px);
}

.sidebar-link.is-active {
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.sidebar-link__icon {
  font-size: 12px;
  transition: transform var(--transition-smooth);
}

.sidebar-link:hover .sidebar-link__icon {
  transform: translateX(4px);
}

.sidebar-link__text {
  flex: 1;
}

.sidebar-link__badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.sidebar-link--child {
  margin-left: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.sidebar-category-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-category-row .sidebar-link {
  flex: 1;
}

.sidebar-category-toggle {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--text-medium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.sidebar-category-toggle i {
  font-size: 12px;
  transition: transform var(--transition-smooth);
}

.sidebar-category-toggle.is-expanded i {
  transform: rotate(90deg);
}

.sidebar-category-toggle--placeholder {
  visibility: hidden;
}

.sidebar-suppliers {
  display: none;
}

.sidebar-suppliers.is-expanded {
  display: block;
}

/* Filter Rows */
.filter-row {
  margin-bottom: var(--spacing-sm);
}

.filter-row__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: #fff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.filter-row__btn:hover {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(66, 165, 245, 0.05) 0%, rgba(0, 172, 193, 0.08) 100%);
  color: var(--primary-color);
}

.filter-row__btn i:first-child {
  font-size: 16px;
}

.filter-row__btn i:last-child {
  font-size: 12px;
  color: var(--text-lighter);
}

/* Sidebar New Products */
.sidebar-new {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.sidebar-new__item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg-lighter);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-smooth);
}

.sidebar-new__item:hover {
  background: #fff;
  border-color: var(--primary-light);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.sidebar-new__image {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}

.sidebar-new__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sidebar-new__item:hover .sidebar-new__image img {
  transform: scale(1.1);
}

.sidebar-new__badge {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 3px 8px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-xs);
  z-index: 2;
}

.sidebar-new__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-new__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-new__more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
}

.sidebar-new__more i {
  font-size: 10px;
  transition: transform var(--transition-smooth);
}

.sidebar-new__item:hover .sidebar-new__more i {
  transform: translateX(4px);
}

/* ===================== PRODUCT MAIN ===================== */
.product-main {
  /* Main content area */
}

.product-main__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: var(--radius-xl);
  border: 2px solid var(--border-light);
  flex-wrap: wrap;
}

.product-header {
  flex: 1;
}

.product-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.product-count {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.product-count i {
  color: var(--primary-color);
}

/* Product Toolbar */
.product-toolbar {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.product-toolbar__group {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.toolbar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-medium);
}

.toolbar-label i {
  font-size: 14px;
  color: var(--primary-color);
}

.product-toolbar__select {
  padding: 10px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition-smooth);
  min-width: 160px;
}

.product-toolbar__select:hover {
  border-color: var(--primary-color);
}

.product-toolbar__select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.product-toolbar__views {
  display: flex;
  gap: var(--spacing-sm);
  background: var(--bg-lighter);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
}

.view-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  color: var(--primary-color);
  background: rgba(21, 101, 192, 0.1);
}

.view-btn.is-active {
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ===================== PRODUCT GRID ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.product-grid[data-view="list"] {
  grid-template-columns: 1fr;
}

.product-card {
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-100);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card__img img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: 6px 14px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.product-badge--special {
  background: var(--gradient-accent);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--spacing-lg);
  z-index: 2;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__actions {
  display: flex;
  gap: var(--spacing-sm);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.product-card:hover .product-card__actions {
  transform: translateY(0);
}

.product-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.product-action:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.15);
}

.product-card__content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__name {
  margin-bottom: var(--spacing-md);
}

.product-card__name a {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-base);
}

.product-card:hover .product-card__name a {
  color: var(--primary-color);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.rating-stars {
  display: flex;
  gap: 3px;
  color: var(--warning-color);
  font-size: 14px;
}

.rating-count {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.product-card__footer {
  margin-top: auto;
  padding-top: var(--spacing-md);
  border-top: 2px solid var(--border-light);
}

.product-card__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.product-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-card__btn i {
  font-size: 12px;
  transition: transform var(--transition-smooth);
}

.product-card__btn:hover i {
  transform: translateX(4px);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .product-page__container {
    grid-template-columns: 1fr;
  }
  
  .product-sidebar {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-main__top {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .product-toolbar {
    width: 100%;
    justify-content: space-between;
  }
  
  .sidebar-block {
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 24px;
  }
  
  .product-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .product-toolbar__group {
    width: 100%;
    justify-content: space-between;
  }
  
  .product-toolbar__select {
    flex: 1;
  }
}
    /* ============================================================
               PRODUCT DETAIL - SG ENERGY  (white-blue theme)
            ============================================================ */
    /* Section wrapper */
    .pd-section {
        padding: 40px 0 64px;
        background: #f4f8ff;
        min-height: 60vh;
    }
    /* Breadcrumb */
    .pd-breadcrumb {
        margin-bottom: 24px;
    }

        .pd-breadcrumb .breadcrumb {
            background: transparent;
            padding: 0;
            margin: 0;
            font-size: 13px;
        }

        .pd-breadcrumb .breadcrumb-item a {
            color: #1565c0;
            text-decoration: none;
        }

        .pd-breadcrumb .breadcrumb-item.active {
            color: #555;
        }

        .pd-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
            color: #aaa;
        }
    /* ---- Main layout ---- */
    .pd-layout {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 28px;
        align-items: start;
    }
    /* ---- Gallery + Info top block ---- */
    .pd-top {
        display: grid;
        grid-template-columns: 380px 1fr;
        gap: 28px;
        background: #fff;
        border: 1px solid #dde8f8;
        border-radius: 12px;
        padding: 24px;
        margin-bottom: 24px;
        box-shadow: 0 2px 12px rgba(21,101,192,0.06);
    }
    /* ---- Gallery ---- */
    .pd-gallery__main {
        width: 100%;
        aspect-ratio: 1;
        border-radius: 10px;
        overflow: hidden;
        border: 2px solid #dde8f8;
        background: #f0f5ff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pd-gallery__main img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.4s ease;
        cursor: zoom-in;
    }

        .pd-gallery__main:hover img {
            transform: scale(1.04);
        }
    /* Thumbnail nav */
    .pd-gallery__nav {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 12px;
    }

    .pd-gallery__arrow {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        border: 1px solid #c5d8f5;
        background: #fff;
        color: #1565c0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        flex-shrink: 0;
        transition: all 0.2s;
    }

        .pd-gallery__arrow:hover {
            background: #1565c0;
            color: #fff;
        }

    .pd-gallery__thumbs {
        display: flex;
        gap: 8px;
        overflow: hidden;
        flex: 1;
    }

    .pd-thumb {
        width: 68px;
        height: 68px;
        border-radius: 8px;
        border: 2px solid #dde8f8;
        object-fit: cover;
        cursor: pointer;
        transition: all 0.2s;
        flex-shrink: 0;
        background: #f0f5ff;
    }

    .pd-thumb:hover,
    .pd-thumb.is-active {
        border-color: #1565c0;
        box-shadow: 0 0 0 2px rgba(21,101,192,0.2);
    }

.pd-extra-gallery__item img {
    cursor: zoom-in;
}

/* Product lightbox */
.pd-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 20, 0.88);
    z-index: 1300;
    display: none;
}

.pd-lightbox.is-open {
    display: block;
}

.pd-lb-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(86vw, 980px);
    max-height: 86vh;
    background: rgba(8, 16, 30, 0.92);
    border-radius: 14px;
    padding: 12px 12px 8px;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}

.pd-lb-content img {
    width: 100%;
    max-height: calc(86vh - 56px);
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

.pd-lb-caption {
    margin-top: 8px;
    color: #e9f1ff;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.pd-lb-close,
.pd-lb-prev,
.pd-lb-next {
    position: absolute;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
    z-index: 1301;
}

.pd-lb-close:hover,
.pd-lb-prev:hover,
.pd-lb-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.pd-lb-close {
    top: 16px;
    right: 16px;
}

.pd-lb-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.pd-lb-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .pd-lb-content {
        width: 94vw;
    }

    .pd-lb-prev,
    .pd-lb-next {
        width: 40px;
        height: 40px;
    }
}
    /* Social share */
    .pd-share {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
        flex-wrap: wrap;
    }

    .pd-share__label {
        font-size: 13px;
        color: #666;
        font-weight: 600;
    }

    .pd-share__btn {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: #fff;
        text-decoration: none;
        transition: opacity 0.2s, transform 0.2s;
    }

        .pd-share__btn:hover {
            opacity: 0.85;
            transform: translateY(-1px);
        }

    .pd-share__btn--fb {
        background: #1877f2;
    }

    .pd-share__btn--tw {
        background: #1da1f2;
    }

    .pd-share__btn--zl {
        background: #0068ff;
    }

    .pd-share__btn--copy {
        background: #78909c;
    }
    /* View count + price row */
    .pd-meta-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px dashed #dde8f8;
    }

    .pd-view-count {
        font-size: 13px;
        color: #777;
    }

        .pd-view-count i {
            color: #1565c0;
            margin-right: 4px;
        }

    .pd-price {
        font-size: 14px;
        color: #444;
        font-weight: 600;
    }

    .pd-price__contact {
        color: #d32f2f;
        font-size: 18px;
        font-weight: 800;
        text-decoration: none;
    }

        .pd-price__contact:hover {
            text-decoration: underline;
        }
    /* ---- Product info (right col of top block) ---- */
    .pd-info__badges {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 12px;
    }

    .pd-badge {
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        letter-spacing: 0.3px;
    }

    .pd-badge--primary {
        background: linear-gradient(135deg, #1565c0, #00acc1);
        color: #fff;
    }

    .pd-badge--secondary {
        background: #e8edf8;
        color: #1565c0;
        border: 1px solid #c5d8f5;
    }

    .pd-info__title {
        font-size: 22px;
        font-weight: 800;
        color: #1a2744;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .pd-info__sku {
        font-size: 13px;
        color: #666;
        margin-bottom: 16px;
    }

        .pd-info__sku strong {
            color: #333;
        }
    /* Spec bullet list (like reference) */
    .pd-spec-list {
        list-style: none;
        padding: 0;
        margin: 0 0 24px;
    }

    .pd-spec-list__item {
        display: flex;
        align-items: baseline;
        gap: 8px;
        padding: 7px 0;
        border-bottom: 1px solid #eef2fb;
        font-size: 14px;
    }

    .pd-spec-list__dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #1565c0;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .pd-spec-list__label {
        color: #555;
        white-space: nowrap;
    }

    .pd-spec-list__value {
        color: #1a2744;
        font-weight: 600;
    }

    .pd-info__desc {
        font-size: 14px;
        color: #555;
        line-height: 1.7;
        margin-bottom: 24px;
    }
    /* CTA buttons */
    .pd-info__actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .pd-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.22s;
        border: 2px solid transparent;
        letter-spacing: 0.3px;
    }

    .pd-btn--primary {
        background: linear-gradient(135deg, #1565c0 0%, #00acc1 100%);
        color: #fff;
        box-shadow: 0 4px 14px rgba(21,101,192,0.28);
    }

        .pd-btn--primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(21,101,192,0.38);
            color: #fff;
        }

    .pd-btn--outline {
        background: #fff;
        color: #1565c0;
        border-color: #c5d8f5;
    }

        .pd-btn--outline:hover {
            background: #e8edf8;
            color: #1565c0;
        }
    /* ---- Tabs ---- */
    .pd-tabs {
        background: #fff;
        border-radius: 12px;
        border: 1px solid #dde8f8;
        box-shadow: 0 2px 12px rgba(21,101,192,0.06);
        overflow: hidden;
    }

    .pd-tabs__header {
        display: flex;
        border-bottom: 2px solid #dde8f8;
        background: #f8faff;
    }

    .pd-tab-btn {
        padding: 14px 28px;
        font-size: 14px;
        font-weight: 700;
        color: #666;
        background: transparent;
        border: none;
        border-bottom: 3px solid transparent;
        cursor: pointer;
        transition: all 0.2s;
        letter-spacing: 0.3px;
    }

        .pd-tab-btn:hover {
            color: #1565c0;
        }

        .pd-tab-btn.is-active {
            color: #1565c0;
            border-bottom-color: #1565c0;
            background: #fff;
        }

    .pd-tab-pane {
        display: none;
        padding: 28px;
    }

        .pd-tab-pane.is-active {
            display: block;
        }
    /* TOC box */
    .pd-toc {
        background: #f4f8ff;
        border: 1px solid #dde8f8;
        border-radius: 10px;
        padding: 18px 24px;
        margin-bottom: 28px;
    }

    .pd-toc__list {
        margin: 0;
        padding-left: 20px;
    }

        .pd-toc__list li {
            padding: 4px 0;
        }

        .pd-toc__list a {
            font-size: 14px;
            font-weight: 600;
            color: #1565c0;
            text-decoration: none;
        }

            .pd-toc__list a:hover {
                text-decoration: underline;
            }
    /* Detail body */
    .pd-detail-body {
        font-size: 15px;
        color: #444;
        line-height: 1.8;
        margin-bottom: 32px;
    }

        .pd-detail-body h2,
        .pd-detail-body h3 {
            color: #1a2744;
            font-weight: 800;
            margin-top: 24px;
            margin-bottom: 10px;
        }

        .pd-detail-body img {
            max-width: 100%;
            border-radius: 10px;
            margin: 12px 0;
        }
    /* Specs table */
    .pd-specs-block {
        margin-bottom: 32px;
    }

    .pd-specs-block__title {
        font-size: 17px;
        font-weight: 800;
        color: #1565c0;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .pd-specs-block__title i {
            font-size: 18px;
        }

    .pd-specs-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14px;
    }

        .pd-specs-table tr:nth-child(even) {
            background: #f4f8ff;
        }

        .pd-specs-table th,
        .pd-specs-table td {
            padding: 11px 16px;
            border: 1px solid #dde8f8;
            text-align: left;
        }

        .pd-specs-table th {
            width: 40%;
            font-weight: 700;
            color: #1a2744;
            background: #eef3fc;
        }

        .pd-specs-table td {
            color: #444;
        }
    /* Extra gallery grid */
    .pd-extra-gallery {
        margin-top: 8px;
    }

    .pd-extra-gallery__grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
        margin-top: 12px;
    }

    .pd-extra-gallery__item {
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #dde8f8;
        aspect-ratio: 1;
        background: #f0f5ff;
    }

        .pd-extra-gallery__item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }

        .pd-extra-gallery__item:hover img {
            transform: scale(1.07);
        }
    /* Comments placeholder */
    .pd-comments-placeholder {
        text-align: center;
        padding: 48px 24px;
        color: #aab;
    }

        .pd-comments-placeholder i {
            font-size: 40px;
            margin-bottom: 12px;
            color: #c5d8f5;
            display: block;
        }
    /* ============================================================
               SIDEBAR
            ============================================================ */
    .pd-sidebar {
        position: sticky;
        top: 100px;
        align-self: start;
    }

    .pd-sidebar__block {
        background: #fff;
        border: 1px solid #dde8f8;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(21,101,192,0.06);
    }

    .pd-sidebar__heading {
        background: linear-gradient(135deg, #1565c0 0%, #00acc1 100%);
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        letter-spacing: 0.8px;
        padding: 14px 18px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .pd-featured-list {
        display: flex;
        flex-direction: column;
    }

    .pd-featured-item {
        display: flex;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px solid #eef2fb;
        text-decoration: none;
        transition: background 0.2s;
        align-items: center;
    }

        .pd-featured-item:last-child {
            border-bottom: none;
        }

        .pd-featured-item:hover {
            background: #f4f8ff;
        }

        .pd-featured-item.is-current {
            background: #eef3fc;
        }

    .pd-featured-item__img {
        width: 72px;
        height: 72px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        border: 1px solid #dde8f8;
        background: #f0f5ff;
    }

        .pd-featured-item__img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.35s;
        }

    .pd-featured-item:hover .pd-featured-item__img img {
        transform: scale(1.08);
    }

    .pd-featured-item__info {
        flex: 1;
        min-width: 0;
    }

    .pd-featured-item__name {
        font-size: 13px;
        font-weight: 700;
        color: #1a2744;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px;
        transition: color 0.2s;
    }

    .pd-featured-item:hover .pd-featured-item__name {
        color: #1565c0;
    }

    .pd-featured-item__sku {
        font-size: 11px;
        color: #888;
    }

    .pd-featured-empty {
        padding: 32px;
        text-align: center;
        color: #aab;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

        .pd-featured-empty i {
            font-size: 28px;
            color: #c5d8f5;
        }
    /* ============================================================
               RESPONSIVE
            ============================================================ */
    @media (max-width: 1200px) {
        .pd-layout {
            grid-template-columns: 1fr 260px;
        }

        .pd-top {
            grid-template-columns: 320px 1fr;
        }
    }

    @media (max-width: 992px) {
        .pd-layout {
            grid-template-columns: 1fr;
        }

        .pd-sidebar {
            position: relative;
            top: auto;
        }

        .pd-sidebar__block {
            display: grid;
            grid-template-rows: auto 1fr;
        }

        .pd-featured-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        }
    }

    @media (max-width: 768px) {
        .pd-top {
            grid-template-columns: 1fr;
        }

        .pd-gallery__main {
            max-height: 300px;
        }

        .pd-info__title {
            font-size: 18px;
        }

        .pd-section {
            padding: 24px 0 40px;
        }

        .pd-tab-pane {
            padding: 20px 16px;
        }

        .pd-specs-table th {
            width: 50%;
        }

        .pd-btn {
            padding: 10px 18px;
            font-size: 13px;
        }
    }

    @media (max-width: 480px) {
        .pd-info__actions {
            flex-direction: column;
        }

        .pd-btn {
            justify-content: center;
        }

        .pd-tab-btn {
            padding: 12px 16px;
            font-size: 13px;
        }
    }
