/* =========================================================
   Product details page (theme one)
   ========================================================= */
.product-single-area {
    --pv-accent: var(--primary-color, #042559);
    --pv-ink: #15171C;
    --pv-text: #3D424D;
    --pv-muted: #7A808C;
    --pv-line: #ECEEF2;
    --pv-soft: #F6F7F9;
    --pv-success: #15803D;
    --pv-success-soft: #E7F6EC;
    --pv-danger: #B91C1C;
    --pv-danger-soft: #FDECEC;
}

/* ---------- Info column ---------- */
.product-single-area .product-single-details .pv-info {
    padding-left: 12px;
}
@media (max-width: 991px) {
    .product-single-area .product-single-details .pv-info {
        margin-top: 28px;
        padding-left: 0;
    }
}

.pv-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.pv-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--pv-text);
    background: var(--pv-soft);
    border: 1px solid var(--pv-line);
    border-radius: 999px;
    transition: border-color 0.2s, color 0.2s;
}
a.pv-chip:hover {
    color: var(--pv-accent);
    border-color: currentColor;
}
.pv-chip--accent {
    color: #fff;
    background: var(--pv-accent);
    border-color: var(--pv-accent);
    text-transform: uppercase;
}
.pv-brand {
    font-size: 13px;
    color: var(--pv-muted);
}
.pv-brand strong {
    color: var(--pv-ink);
    font-weight: 600;
}

.product-single-area .product-single-details .pv-info .product-info .pv-title {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--pv-ink);
    text-transform: none;
}

.pv-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.product-single-area .product-single-details .pv-info .product-info .pv-rating .product-review {
    margin: 0;
}
.pv-rating__count {
    font-size: 13px;
    color: var(--pv-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pv-rating__count:hover {
    color: var(--pv-accent);
}

/* price */
.pv-price-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #FFF7F7 0%, #FAFAFB 100%);
    border: 1px solid var(--pv-line);
    border-radius: 14px;
}
.product-single-area .product-single-details .pv-info .product-info .pv-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}
.product-single-area .product-single-details .pv-info .product-info .pv-price .price {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--pv-ink);
}
.product-single-area .product-single-details .pv-info .product-info .pv-price .regular-price {
    margin: 0;
    font-size: 17px;
    font-weight: 400;
    color: var(--pv-muted);
    text-decoration: line-through;
}
.pv-save {
    align-self: center;
    padding: 3px 9px;
    font-size: 12px;
    font-weight: 700;
    color: var(--pv-accent);
    background: #FDE8E9;
    border-radius: 999px;
}
.pv-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
}
.pv-stock.is-in {
    color: var(--pv-success);
    background: var(--pv-success-soft);
}
.pv-stock.is-out {
    color: var(--pv-danger);
    background: var(--pv-danger-soft);
}
.pv-stock__dot {
    width: 7px;
    height: 7px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}
.pv-stock.is-out .pv-stock__dot {
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
}

.product-single-area .product-single-details .pv-info .product-info .pv-summary {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--pv-text);
}

/* options */
.product-single-area .product-single-details .pv-info .product-info .pv-option {
    margin: 0 0 22px;
}
.pv-option__label {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pv-ink);
}
.pv-option__value {
    margin-left: 4px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--pv-muted);
}
.product-single-area .product-single-details .pv-info .product-info .pv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.product-single-area .product-single-details .pv-info .product-info .pv-chips .single-size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: auto;
    margin: 0;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--pv-ink);
    background: #fff;
    border: 1.5px solid var(--pv-line);
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.product-single-area .product-single-details .pv-info .product-info .pv-chips .single-size:hover {
    border-color: #C9CDD5;
}
.product-single-area .product-single-details .pv-info .product-info .pv-chips .single-size.active {
    color: #fff;
    background: var(--pv-ink);
    border-color: var(--pv-ink);
    box-shadow: 0 6px 14px -8px rgba(21, 23, 28, 0.6);
}

/* colour swatches */
.pv-info .product-variable-color {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pv-info .product-variable-color label {
    margin: 0;
}
.pv-info .product-variable-color label span {
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--pv-line);
    transition: box-shadow 0.15s;
}
.pv-info .product-variable-color label span:hover {
    box-shadow: 0 0 0 1px #B8BDC7;
}
.pv-info .product-variable-color label input:checked ~ span {
    box-shadow: 0 0 0 2px var(--pv-ink);
}
.pv-info .product-variable-color label span::after {
    color: #fff;
    font-size: 12px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

/* buy row */
.pv-buy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 16px;
}
.product-single-area .product-single-details .pv-info .product-info .pv-qty {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    width: auto;
    height: 52px;
    background: #fff;
    border: 1.5px solid var(--pv-line);
    border-radius: 12px;
}
.product-single-area .product-single-details .pv-info .product-info .pv-qty .qtybutton {
    display: grid;
    place-items: center;
    width: 44px;
    height: 100%;
    padding: 0;
    font-size: 20px;
    color: var(--pv-ink);
    border: 0;
    box-shadow: none;
}
.product-single-area .product-single-details .pv-info .product-info .pv-qty .qtybutton.dec {
    font-size: 20px;
}
.product-single-area .product-single-details .pv-info .product-info .pv-qty .qtybutton.dec::before,
.product-single-area .product-single-details .pv-info .product-info .pv-qty .qtybutton.inc::before {
    content: none;
}
.product-single-area .product-single-details .pv-info .product-info .pv-qty .qtybutton:hover {
    color: var(--pv-accent);
}
.product-single-area .product-single-details .pv-info .product-info .pv-qty input {
    width: 38px;
    height: 100%;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: var(--pv-ink);
    background: transparent;
    border: 0;
}
.pv-btn {
    flex: 1 1 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 12px;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.product-single-area .product-single-details .pv-info .product-info .pv-btn--primary {
    width: auto;
    margin: 0;
    color: #fff;
    background: var(--pv-accent);
    border: 0;
    box-shadow: 0 10px 22px -12px rgba(239, 27, 39, 0.8);
}
.product-single-area .product-single-details .pv-info .product-info .pv-btn--primary:hover {
    color: #fff;
    background: #D3121D;
    transform: translateY(-1px);
}
.product-single-area .product-single-details .pv-info .product-info .pv-btn--primary .icon,
.pv-btn--primary i {
    margin: 0;
    color: #fff;
}
.pv-btn--dark {
    color: #fff;
    background: var(--pv-ink);
}
.pv-btn--dark:hover {
    color: #fff;
    background: #000;
    transform: translateY(-1px);
}
@media (max-width: 575px) {
    .pv-buy .pv-btn {
        flex-basis: 100%;
    }
    .product-single-area .product-single-details .pv-info .product-info .pv-qty {
        flex: 1 1 100%;
        justify-content: space-between;
    }
}

/* wishlist / compare / share */
.pv-secondary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px;
    padding: 16px 0 4px;
    border-top: 1px solid var(--pv-line);
}
.pv-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pv-text);
    cursor: pointer;
}
.pv-link:hover {
    color: var(--pv-accent);
}
.pv-share {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.pv-share span {
    margin-right: 4px;
    font-size: 13px;
    color: var(--pv-muted);
}
.pv-share a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    font-size: 13px;
    color: var(--pv-text);
    background: var(--pv-soft);
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}
.pv-share a:hover {
    color: #fff;
    background: var(--pv-ink);
}
@media (max-width: 575px) {
    .pv-share {
        margin-left: 0;
    }
}

/* perks */
.pv-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}
.pv-perk {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--pv-soft);
    border-radius: 12px;
}
.pv-perk__icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    font-size: 14px;
    color: var(--pv-accent);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px -2px rgba(21, 23, 28, 0.15);
}
.pv-perk strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--pv-ink);
}
.pv-perk div span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--pv-muted);
}
@media (max-width: 575px) {
    .pv-perks {
        grid-template-columns: 1fr;
    }
}

.pv-payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--pv-muted);
}
.pv-payments img {
    max-height: 26px;
    width: auto;
}

/* ---------- Details tabs ---------- */
.product-single-area .product-bottom-info {
    margin-top: 64px !important;
}
.product-single-area .product-bottom-info .nav-tabs-menu .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    padding: 5px;
    overflow-x: auto;
    background: var(--pv-soft);
    border: 0;
    border-radius: 14px;
    scrollbar-width: none;
}
.product-single-area .product-bottom-info .nav-tabs-menu .nav-tabs::-webkit-scrollbar {
    display: none;
}
.product-single-area .product-bottom-info .nav-tabs-menu .nav-tabs .nav-item {
    flex: 1 0 auto;
    margin: 0;
    padding: 0;
}
.product-single-area .product-bottom-info .nav-tabs-menu .nav-tabs .nav-item::before {
    content: none;
}
.product-single-area .product-bottom-info .nav-tabs-menu .nav-tabs .nav-item .nav-link {
    width: 100%;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--pv-muted);
    background: transparent;
    border: 0;
    border-radius: 10px;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.product-single-area .product-bottom-info .nav-tabs-menu .nav-tabs .nav-item .nav-link:hover {
    color: var(--pv-ink);
}
.product-single-area .product-bottom-info .nav-tabs-menu .nav-tabs .nav-item .nav-link.active {
    color: var(--pv-ink);
    font-weight: 600;
    background: #fff;
    box-shadow: 0 2px 8px -3px rgba(21, 23, 28, 0.2);
}
.product-single-area .product-bottom-info .tab-content {
    margin-top: 18px;
    padding: 30px 32px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--pv-text);
    background: #fff;
    border: 1px solid var(--pv-line);
    border-radius: 16px;
}
.product-single-area .product-bottom-info .tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.product-single-area .product-bottom-info .tab-content table {
    width: 100%;
    border-collapse: collapse;
}
.product-single-area .product-bottom-info .tab-content table td,
.product-single-area .product-bottom-info .tab-content table th {
    padding: 10px 14px;
    border-bottom: 1px solid var(--pv-line);
}
@media (max-width: 575px) {
    .product-single-area .product-bottom-info .tab-content {
        padding: 20px 18px;
    }
}

.pv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 30px 10px;
    text-align: center;
    color: var(--pv-muted);
}
.pv-empty i {
    font-size: 30px;
    color: #C3C7CF;
}
.pv-empty strong {
    font-size: 16px;
    color: var(--pv-ink);
}

/* ---------- Gallery polish ---------- */
.product-single-area .product-single-left .product-slier-big-image .single-slide {
    border-color: var(--pv-line);
    border-radius: 16px;
    background: #fff;
}
.product-single-area .product-single-left .product-thumbnail-image .product-thumb-silide .single-item .single-item-image {
    border-radius: 10px;
}
.product-single-area .product-single-left .product-thumbnail-image .product-thumb-silide .single-item.slick-current .single-item-image {
    border-color: var(--pv-ink);
}
