
/* Item Page Layout */
.item-layout {
    display: grid;
    grid-template-columns: 1fr 300px; /* Sidebar fixed width */
    gap: 2rem;
    align-items: start;
}

.item-main-col {
    min-width: 0; /* Prevents flex/grid overflow issues */
}

.item-sidebar-col {
    width: 100%;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.breadcrumb a {
    color: #64748b !important; /* Force gray */
    text-decoration: none !important;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #0f172a !important; /* Darker on hover */
    text-decoration: underline !important;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #cbd5e1;
}

.breadcrumb .current {
    color: #0f172a;
    font-weight: 500;
}

/* Item Header Row (Title + Price) */
.item-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.item-details-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem; /* Reduced from 2rem */
    line-height: 1.3;
    color: #0f172a;
    font-weight: 700;
}

.item-price-container {
    text-align: right;
    flex-shrink: 0;
}

.item-details-price {
    font-size: 1.75rem; /* Reduced from 2.5rem */
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.item-shipping-info {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.25rem; /* Fixed spacing/overlap */
    font-weight: 500;
}

/* Buy Button UX Optimization */
.btn-buy {
    width: 100%;
    display: block;
    text-align: center;
    box-sizing: border-box;
    padding: 0.8rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: #0f172a; /* Flat color, no gradient */
    color: white !important;
    font-weight: 600;
    border-radius: 8px; /* Less rounded (was 99px/pill) */
    transition: background 0.2s, transform 0.1s;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-buy:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.15);
}

.btn-buy-subtext {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .item-layout {
        grid-template-columns: 1fr; /* Stack columns */
    }

    .item-sidebar-col {
        order: 2; /* Sidebar below main content */
    }
}

@media (max-width: 575px) {
    .item-header-row {
        flex-direction: column-reverse; /* Price above title on mobile */
        gap: 0.5rem;
    }

    .item-price-container {
        text-align: left;
        width: 100%;
    }

    .item-details-title {
        font-size: 1.25rem;
    }

    .item-details-price {
        font-size: 1.5rem;
    }
}
