/* Product detail page */

.pdp-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 18px;
}

.pdp-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.15s ease;
}

.pdp-breadcrumb a:hover {
    color: #de0e0e;
}

.pdp-gallery {
    background: #fff;
    border: 1px solid var(--shop-border, #ececec);
    border-radius: var(--shop-radius, 14px);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    box-shadow: 0 20px 45px rgba(20, 20, 20, 0.14), 0 4px 14px rgba(20, 20, 20, 0.08);
}

.pdp-gallery img {
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
}

.pdp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.pdp-thumbs img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fafafa;
    border: 2px solid var(--shop-border, #ececec);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.pdp-thumbs img:hover {
    border-color: #fc8823;
    transform: translateY(-2px);
}

.pdp-title {
    font-size: 24px;
    font-weight: 700;
    color: #17141c;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.pdp-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 16px;
    flex-wrap: wrap;
}

.pdp-price {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(90deg, #de0e0e, #fc8823);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.pdp-price .compare-at {
    font-weight: 400;
    color: #aaa;
    text-decoration: line-through;
    margin-left: 8px;
    font-size: 14px;
    -webkit-text-fill-color: #aaa;
}

.pdp-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 20px;
}

.pdp-stock-badge.in-stock {
    background: #e8f5e9;
    color: #2e7d32;
}

.pdp-stock-badge.low-stock {
    background: #fff4e5;
    color: #b5561a;
}

.pdp-stock-badge.out-of-stock {
    background: #fdecea;
    color: #c62828;
}

.pdp-stock-badge i {
    font-size: 6px;
}

.pdp-brand {
    margin-bottom: 18px;
}

.pdp-brand-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #6b7280;
    background: #f4f3f1;
    border-radius: 20px;
    padding: 5px 13px;
}

.pdp-brand-badge strong {
    color: #17141c;
    margin-left: 4px;
}

.pdp-short-desc {
    font-size: 14.5px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 22px;
}

.pdp-specs-card {
    border: 1px solid var(--shop-border, #ececec);
    border-radius: var(--shop-radius, 14px);
    padding: 18px 20px;
    margin-bottom: 22px;
    box-shadow: var(--shop-shadow, 0 4px 20px rgba(20, 20, 20, 0.06));
}

.pdp-specs-card h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-bottom: 12px;
}

.pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pdp-specs-table tr:nth-child(odd) {
    background: #faf9f7;
}

.pdp-specs-table th,
.pdp-specs-table td {
    text-align: left;
    padding: 9px 10px;
    font-size: 13.5px;
    font-weight: 400;
    border-radius: 6px;
}

.pdp-specs-table th {
    width: 42%;
    color: #555;
    font-weight: 600;
}

.pdp-specs-table td {
    color: #17141c;
    font-weight: 500;
}

.pdp-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 16px;
}

.pdp-qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.pdp-qty-stepper button {
    width: 50px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.pdp-qty-stepper button:hover {
    background: #ececec;
}

.pdp-qty-stepper input {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-weight: 600;
}

.pdp-icon-btn {
    width: 72px;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pdp-icon-btn:hover {
    background: #fff5ef;
    border-color: #fc8823;
    transform: translateY(-2px);
}

.pdp-icon-btn.is-active {
    color: #e63946;
    border-color: #e63946;
}

.pdp-action-row {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.pdp-action-row form,
.pdp-action-row > * {
    flex: 1;
}

.pdp-btn-outline-full {
    width: 100%;
    border: 1.5px solid #17141c;
    background: #fff;
    color: #17141c;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.pdp-btn-outline-full:hover {
    background: #17141c;
    color: #fff;
}

.pdp-btn-solid-full {
    width: 100%;
    border: none;
    background: linear-gradient(90deg, #de0e0e, #fc8823);
    color: #fff;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(222, 14, 14, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.pdp-btn-solid-full:hover {
    color: #fff;
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(222, 14, 14, 0.32);
}

.pdp-desc-card {
    background: #fff;
    border: 1px solid var(--shop-border, #ececec);
    border-radius: var(--shop-radius, 14px);
    padding: 26px 28px;
    margin-top: 30px;
    box-shadow: 0 20px 45px rgba(20, 20, 20, 0.14), 0 4px 14px rgba(20, 20, 20, 0.08);
}

.pdp-desc-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--shop-border, #ececec);
}

.pdp-desc-card h4 i {
    color: #fc8823;
    font-size: 13px;
}

.pdp-desc-intro {
    font-size: 15px;
    color: #444;
    font-weight: 500;
    margin-bottom: 14px;
}

.pdp-desc-subheading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin: 18px 0 14px;
}

.pdp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 20px;
}

@media (max-width: 576px) {
    .pdp-feature-list {
        grid-template-columns: 1fr;
    }
}

.pdp-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    padding: 9px 4px;
    border-bottom: 1px dashed var(--shop-border, #ececec);
}

.pdp-feature-list li:last-child,
.pdp-feature-list li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.pdp-feature-list li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 50%;
    background: #fff2e5;
    color: #fc8823;
    font-size: 10px;
}

.pdp-desc-card p,
.pdp-desc-card div {
    color: #333;
    line-height: 1.7;
}

.pdp-similar-heading {
    font-size: 19px;
    font-weight: 700;
    margin: 32px 0 18px;
    color: #17141c;
}

.pdp-similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width: 992px) {
    .pdp-similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pdp-similar-grid {
        grid-template-columns: 1fr;
    }
}

.pdp-similar-card {
    background: #fff;
    border: 1px solid var(--shop-border, #ececec);
    border-radius: var(--shop-radius, 14px);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.1), 0 2px 8px rgba(20, 20, 20, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pdp-similar-card:hover {
    box-shadow: 0 20px 45px rgba(20, 20, 20, 0.16), 0 4px 14px rgba(20, 20, 20, 0.08);
    transform: translateY(-5px);
    color: inherit;
}

.pdp-similar-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: linear-gradient(180deg, #fbfbfb, #f3f3f3);
    padding: 16px;
}

.pdp-similar-card .pdp-similar-body {
    padding: 13px 15px;
    border-top: 1px solid var(--shop-border, #ececec);
}

.pdp-similar-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #17141c;
}

.pdp-similar-card .pdp-similar-brand {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.pdp-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    background: #faf1ea;
    color: #b5561a;
    padding: 3px 9px;
    border-radius: 20px;
}
