.accessory-details-section {
    padding: 60px 0;
}

.accessory-details-section .banner-header,
.accessory-details-section + .banner-header {
    height: auto;
}

.accessory-details-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.accessory-details-image {
    background: #fff;
    padding: 30px 24px;
    text-align: center;
    border-right: 1px solid #eee;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.accessory-gallery-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accessory-main-img-holder {
    width: 100%;
    max-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.accessory-main-img-holder img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    transition: opacity 0.25s ease-in-out;
}

.accessory-thumbs-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.accessory-thumb-item {
    width: 68px;
    height: 68px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #f9fafb;
    padding: 2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessory-thumb-item:hover {
    border-color: #bd9563;
    transform: translateY(-2px);
}

.accessory-thumb-item.active {
    border-color: #bd9563;
    box-shadow: 0 0 0 1px #bd9563;
}

.accessory-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.accessory-details-content {
    padding: 40px 40px 44px;
}

.accessory-details-content h1 {
    font-size: 28px;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #222;
    font-weight: 600;
}

.accessory-details-price {
    color: #bd9563;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.2px;
}

.accessory-details-price.request {
    color: #666;
    font-size: 18px;
    font-weight: 600;
}

.accessory-details-description {
    color: #555;
    line-height: 1.85;
    margin-bottom: 28px;
    font-size: 15px;
}

.accessory-breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
}

.accessory-breadcrumb a {
    color: #bd9563;
    text-decoration: none;
}

.accessory-breadcrumb a:hover {
    text-decoration: underline;
}

.accessory-breadcrumb span {
    color: #888;
    margin: 0 8px;
}

.accessory-purchase-box {
    background: #faf8f5;
    border: 1px solid #eadfce;
    border-radius: 12px;
    padding: 24px;
    max-width: 100%;
}

.accessory-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.accessory-qty-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 72px;
}

.accessory-details-actions .qty-control {
    display: inline-flex;
    align-items: stretch;
    width: 132px;
    max-width: 132px;
    flex-shrink: 0;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.accessory-details-actions .qty-control button {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 44px;
    border: 0;
    background: #f3f3f3;
    color: #222;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.accessory-details-actions .qty-control button:hover {
    background: #e8e8e8;
}

.accessory-details-actions .qty-control input[type="number"],
.accessory-details-actions .qty-control .product-qty-input {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    margin-bottom: 0 !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-left: 1px solid #cfcfcf !important;
    border-right: 1px solid #cfcfcf !important;
    border-radius: 0 !important;
    background: #fff !important;
    background-color: #fff !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222 !important;
    -moz-appearance: textfield;
    appearance: textfield;
}

.accessory-details-actions .qty-control input[type="number"]::-webkit-outer-spin-button,
.accessory-details-actions .qty-control input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.accessory-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accessory-btn-stack .button-1 {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
}

.accessory-btn-stack .button-1.button-outline {
    background: transparent;
    color: #bd9563;
    border: 1px solid #bd9563;
}

.accessory-btn-stack .button-1.button-outline:hover {
    background: #bd9563;
    color: #fff;
    border-color: #bd9563;
}

.accessory-btn-stack .btn-secondary-link {
    border: none;
    background: transparent;
    color: #dc3545;
    font-size: 14px;
    text-decoration: underline;
    padding: 4px 0 0;
    text-align: center;
    cursor: pointer;
}

.accessory-btn-stack .btn-secondary-link:hover {
    color: #a71d2a;
}

.accessory-in-cart-label {
    color: #bd9563;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 14px;
}

.accessory-details-message {
    display: none;
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.accessory-details-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.accessory-details-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

.accessory-details-actions {
    max-width: 100%;
}

.accessory-external-link {
    margin-top: 20px;
    margin-bottom: 0;
}

.accessory-external-link a {
    color: #bd9563;
    font-weight: 600;
    text-decoration: none;
}

.accessory-external-link a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .accessory-details-image {
        border-right: 0;
        border-bottom: 1px solid #eee;
        padding: 30px 20px;
    }

    .accessory-details-content {
        padding: 28px 22px 32px;
    }

    .accessory-details-content h1 {
        font-size: 22px;
    }

    .accessory-details-price {
        font-size: 26px;
    }
}

/* =========================================================
   Product Size Selection & Dynamic Price Styles
   ========================================================= */
.accessory-sizes-selector {
    margin-bottom: 22px;
    padding: 16px 18px;
    background: #fdfbf8;
    border: 1px solid #f1e9de;
    border-radius: 10px;
}
.accessory-sizes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.accessory-sizes-title {
    font-size: 13px;
    font-weight: 700;
    color: #1b1b1b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.accessory-selected-size-label {
    font-size: 13px;
    font-weight: 600;
    color: #bd9563;
}
.accessory-sizes-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.accessory-size-pill {
    position: relative;
    padding: 8px 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    user-select: none;
}
.accessory-size-pill:hover:not(.out-of-stock) {
    border-color: #bd9563;
    color: #bd9563;
    background: #fdfaf6;
    transform: translateY(-1px);
}
.accessory-size-pill.active {
    border-color: #bd9563;
    background: #1b1b1b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(189, 149, 99, 0.25);
}
.accessory-size-pill .size-pill-price {
    font-size: 11px;
    font-weight: 500;
    margin-top: 2px;
    opacity: 0.85;
}
.accessory-size-pill.active .size-pill-price {
    color: #f1e0ca;
}
.accessory-size-pill.out-of-stock {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.6;
}
.accessory-size-stock-badge {
    font-size: 12px;
    margin-top: 8px;
    color: #6b7280;
}
.accessory-size-stock-badge.low-stock {
    color: #d97706;
    font-weight: 600;
}
.accessory-size-stock-badge.out-of-stock-text {
    color: #dc2626;
    font-weight: 600;
}

/* =========================================================
   Product Color Selection Styles (Name Pills)
   ========================================================= */
.accessory-colors-selector {
    margin-bottom: 18px;
    padding: 16px 18px;
    background: #fdfbf8;
    border: 1px solid #f1e9de;
    border-radius: 10px;
}
.accessory-colors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.accessory-colors-title {
    font-size: 13px;
    font-weight: 700;
    color: #1b1b1b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.accessory-selected-color-label {
    font-size: 13px;
    font-weight: 600;
    color: #bd9563;
}
.accessory-colors-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.accessory-color-pill {
    position: relative;
    padding: 8px 18px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    user-select: none;
}
.accessory-color-pill:hover {
    border-color: #bd9563;
    color: #bd9563;
    background: #fdfaf6;
    transform: translateY(-1px);
}
.accessory-color-pill.active {
    border-color: #bd9563;
    background: #1b1b1b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(189, 149, 99, 0.25);
}


