.page-background{
	background: #f5f5f5
}



.product-page{
	background: #fff;
	max-width: 1200px;
	margin: 20px auto;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 20px;
	justify-content: center;
	border-radius: 5px
}
.product-image{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 250px;
	max-width: 500px
}
.product-image img{
	width: 100%;
	max-width: 500px;
	max-height: 500px;
	object-fit: contain;
	border: 1px solid #ddd;
	border-radius: 6px;
	display: block;
	margin: 0 auto
}
.vertical-divider {
    width: 1px;
    background: #ddd;
    min-height: 400px;
    flex-shrink: 0;
    margin: 0 10px;
}

/* ✅ Hide divider on mobile */
@media (max-width: 768px) {
    .vertical-divider {
        display: none;
    }
    .product-image img{
        max-height: 300px;
    }
}

/* ✅ Hide divider on mobile */
@media (max-width: 400px) {
    .vertical-divider {
        display: none;
    }
    .product-image img{
        max-height: 200px;
    }
}
.product-details{
    padding:20px 0px;
	flex: 1;
	max-width: 500px;
	font-family: Arial,sans-serif;
	min-width: 200px
}
.product-details h3{
	font-size: 28px;
	margin-bottom: 10px
}
.product-details .price{
	color: #003087;
	font-size: 26px;
	font-weight: 500;
	margin: 10px 0
}
.product-details .description{
	font-size: 16px;
	margin: 20px 0
}

.product-details input[type=number]{
	width: 80px;
	padding: 6px;
	text-align: center
}
.product-details button{
	padding: 10px 20px;
	font-weight: 700;
	border: none;
	margin-right: 10px;
	cursor: pointer;
	border-radius: 5px
}
.btn-add{
	background-color: #003087;
	color: #fff
}
.section-title{
	position: relative;
	font-size: 24px;
	font-weight: 700;
	color: #17215b;
	text-align: center;
	padding-top: 30px;
	margin-bottom: 20px
}
.centered-stripe{
	width: 120px;
	height: 6px;
	margin: 20px auto;
	background: linear-gradient(-45deg,#f44336 0,#f44336 33%,#2e2d77 33%,#2e2d77 66%,#0af 66%,#0af 100%);
	border-radius: 5px
}
.related-products-section{
	border-radius: 5px;
	background: #fff;
	max-width: 1200px;
	margin: auto;
	padding: 10px 20px;
	font-family: 'Segoe UI',sans-serif
}
.related-header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px
}
.related-header span{
	font-size: 20px;
	font-weight: 700;
	color: #17215b
}
.related-products-grid{
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 10px
}
.related-product-card {
    flex: 0 0 auto;
    width: 160px;
    background: #fff;
    border: 1px solid #e9ecef; /* ✅ Updated to match recently-viewed */
    border-radius: 6px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    text-decoration: none;
    color: inherit;
    position: relative; /* ✅ Added for positioning */
    transition: all 0.3s ease; /* ✅ Added smooth transitions */
}
.related-product-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background-color: #f9f9f9;
}
.related-product-card .info {
    padding: 10px;
    text-decoration: none;
    color: inherit;
}
.related-product-card .name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* ✅ Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.6em; /* ✅ Height for exactly 2 lines */
    word-wrap: break-word;
    word-break: break-word; /* ✅ Break long words */
    hyphens: auto; /* ✅ Add hyphens for better wrapping */
}
.related-product-card .price {
    font-weight: 700;
    color: #003087;
    font-size: 14px;
    margin-top: 4px; /* ✅ Add spacing above price */
    white-space: nowrap; /* ✅ Keep price on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-product-card .brand {
    font-size: 0.85em;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap; /* ✅ Keep brand on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ✅ NEW: Add part-number styling to match recently-viewed */
.related-product-card .part-number {
    font-size: 0.75em;
    color: #6c757d;
    font-family: monospace;
    margin-bottom: 8px; /* ✅ Increased bottom margin */
    white-space: nowrap; /* ✅ Keep part number on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}
.related-product-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* ✅ Enhanced shadow on hover */
    border-color: #007bff; /* ✅ Blue border on hover */
    text-decoration: none; /* ✅ Ensure no underline */
    color: inherit; /* ✅ Maintain text color */
}
#compatibility-result{
	padding: 6px 10px;
	border-radius: 5px;
	font-weight: 700
}
#feature-btn{
	border-radius: 5px
}

@media (max-width: 768px) {
    .related-product-card {
        width: 140px; /* ✅ Slightly smaller on mobile */
    }
    
    .related-product-card .part-number {
        font-size: 0.7em;
    }
    
    .related-product-card .name {
        font-size: 13px;
    }
    
    .related-product-card .info {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .related-product-card {
        width: 120px; /* ✅ Even smaller on very small screens */
    }
    
    .related-product-card img {
        height: 100px;
    }
    
    .related-product-card .name {
        font-size: 12px;
    }
    
    .related-product-card .price {
        font-size: 13px;
    }
}
.info-icon {
    margin-left: 8px;
    cursor: help;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.info-icon:hover {
    opacity: 1;
}

.modal-dynamic {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-dynamic .modal-dialog {
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    max-height: 95vh;
    max-width: 95vw;
}

.modal-dynamic .modal-content {
    width: auto;
    height: auto;
    max-height: 95vh;
    max-width: 95vw;
    overflow: hidden;
}

.modal-dynamic .modal-body {
    padding: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dynamic .modal-body img {
    display: block;
    object-fit: contain;
}

/* Force remove any lingering modal effects */
body:not(.modal-open) .modal-backdrop {
    display: none !important;
}

body:not(.modal-open) {
    overflow: auto !important;
    padding-right: 0 !important;
}

/* Custom tooltip styling
.info-icon[title]:hover:after {
    content: attr(title);
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: 25px;
    margin-left: -100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.info-icon[title]:hover:before {
    content: '';
    position: absolute;
    border: 6px solid transparent;
    border-bottom-color: #333;
    margin-top: 19px;
    margin-left: -6px;
    z-index: 1001;
} */

/* Alternative simpler approach using just browser default tooltip */
/* .info-icon-simple {
    margin-left: 8px;
    cursor: help;
    font-size: 14px;
    opacity: 0.7;
    color: #007bff;
    transition: opacity 0.2s ease;
}

.info-icon-simple:hover {
    opacity: 1;
} */

.info-icon {
    margin-left: 8px;
    cursor: help;
    font-size: 14px;
    opacity: 0.7;
    color: #007bff;
    transition: opacity 0.2s ease;
}

.info-icon:hover {
    opacity: 1;
}

/* FAQ Section Styles */
.faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.faq-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
    color: #333;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-item.active .faq-question {
    background: #17215B;
    color: white;
}

.faq-icon {
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.2s ease;
    width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .faq-section {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .faq-title {	
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .faq-answer p {
        padding: 16px;
        font-size: 14px;
    }
    
    .faq-icon {
        font-size: 18px;
    }
}

/* Smooth animation for accordion */
.faq-item {
    transition: all 0.2s ease;
}

.faq-item.active {
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.back-navigation {
    padding: 0 20px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-back:active {
    transform: translateY(0);
}

.btn-back i {
    font-size: 12px;
}

/* Mobile responsive */
/* Hide breadcrumbs on mobile */
@media (max-width: 768px) {
    .product-crumbs {
        display: none !important;
    }
    
    /* Adjust back button for mobile when breadcrumbs are hidden */
    .back-navigation {
        padding: 0 15px;
        margin-bottom: 20px;
    }
    
    .btn-back {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }

    .header-container {
        margin-top: 30px !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .product-crumbs {
        display: none !important;
    }
    
    .back-navigation {
        padding: 0 10px;
        margin-bottom: 15px;
    }
    
    .btn-back {
        padding: 10px 14px;
        font-size: 13px;
    }

    .header-container {
        margin-top: 25px !important;
    }
}

.header-container {
    margin-top: 40px !important;
}

/* Add this to your part_detail.css to style the enquire button */
.btn-enquire {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
    color: white !important;
    padding: 10px 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-enquire:hover {
    background-color: #138496 !important;
    border-color: #117a8b !important;
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-enquire:focus,
.btn-enquire:active {
    background-color: #117a8b !important;
    border-color: #10707f !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .btn-enquire {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    
    .product-details form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-add {
        width: 100%;
    }
}

/* Add these enhanced button styles after your existing .btn-add rule (around line 490): */

.btn-add {
    background-color: #003087;
    color: #fff;
    transition: all 0.3s ease; /* ✅ Smooth transitions */
    position: relative;
    overflow: hidden;
    min-height: 44px; /* ✅ Ensure consistent height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add:hover:not(:disabled) {
    background-color: #002570;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 48, 135, 0.3);
}

.btn-add:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 48, 135, 0.3);
}

/* ✅ Disabled state styling */
.btn-add:disabled {
    background-color: #6c757d !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

/* ✅ Loading spinner animation */
.btn-add .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ✅ Success state */
.btn-add.success {
    background-color: #28a745 !important;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ✅ Error state */
.btn-add.error {
    background-color: #dc3545 !important;
    animation: errorShake 0.6s ease;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ✅ Mobile responsive adjustments */
@media (max-width: 768px) {
    .btn-add {
        min-height: 48px; /* ✅ Larger touch target on mobile */
        font-size: 16px; /* ✅ Prevent zoom on iOS */
        width: 100%; /* ✅ Full width on mobile */
    }
    
    .btn-add:disabled {
        opacity: 0.5 !important;
    }
    
    /* ✅ Adjust enquire button too */
    .btn-enquire {
        min-height: 48px;
        font-size: 16px;
        width: 100%;
        margin-top: 8px;
    }
}

#add-to-cart-form {
    display: flex;
    flex-direction: column;
}

/* ✅ Quantity input styling */
#qty-input {
    min-height: 44px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color 0.3s ease;
}

#qty-input:focus {
    border-color: #003087;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

/* ✅ Success/Error message styling */
.cart-feedback {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-feedback.show {
    transform: translateX(0);
}

.cart-feedback.error {
    background: #dc3545;
}

/* Add this to your existing <style> section in the {% block head %} */

/* ✅ Breadcrumb Styling */
.product-crumbs {
  background: transparent;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
  background-color: transparent;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  display: inline-block;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  color: #6c757d;
}

.breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* ✅ Mobile responsive breadcrumb */
@media (max-width: 768px) {
  .product-crumbs nav {
    margin: 10px 15px 15px 15px !important;
  }
  
  .breadcrumb {
    font-size: 0.8em !important;
    flex-wrap: wrap;
  }
  
  .breadcrumb-item {
    margin-bottom: 2px;
  }
  
  /* Stack breadcrumb items on very small screens */
  @media (max-width: 480px) {
    .breadcrumb {
      flex-direction: column;
      gap: 4px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
      content: "↳";
      padding-right: 0.25rem;
      padding-left: 0;
    }
  }
}

/* ✅ Adjust container spacing to account for breadcrumb */
.account-container {
  min-height: 100vh;
  padding: 20px 20px 40px 20px; /* Reduced top padding since breadcrumb provides spacing */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ✅ Recently Viewed Items Styling */
.recently-viewed-card {
    position: relative;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.recently-viewed-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.recently-viewed-card .viewed-time {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.recently-viewed-card .brand {
    font-size: 0.85em;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 2px;
}

.recently-viewed-card .part-number {
    font-size: 0.75em;
    color: #6c757d;
    font-family: monospace;
    margin-bottom: 4px;
}


/* ✅ Mobile responsive adjustments */
@media (max-width: 768px) {
    .recently-viewed-card .viewed-time {
        font-size: 0.6em;
        padding: 1px 4px;
        top: 4px;
        right: 4px;
    }
    
    .recently-viewed-card .part-number {
        font-size: 0.7em;
    }
}

/* ✅ Force price to bottom of card */
.related-product-card,
.recently-viewed-card {
    flex: 0 0 auto;
    width: 160px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: all 0.3s ease;
    display: flex; /* ✅ Make card a flex container */
    flex-direction: column; /* ✅ Stack content vertically */
    height: 280px; /* ✅ Set fixed height for consistency */
}

.related-product-card img,
.recently-viewed-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background-color: #f9f9f9;
    flex-shrink: 0; /* ✅ Prevent image from shrinking */
}

.related-product-card .info,
.recently-viewed-card .info {
    padding: 10px;
    text-decoration: none;
    color: inherit;
    display: flex; /* ✅ Make info container a flex container */
    flex-direction: column; /* ✅ Stack info vertically */
    flex-grow: 1; /* ✅ Allow info to grow and fill space */
    justify-content: space-between; /* ✅ Distribute content evenly */
}

/* ✅ Create a container for non-price content */
.related-product-card .info-content,
.recently-viewed-card .info-content {
    flex-grow: 1;
    min-height: 0; /* ✅ Allow shrinking */
    overflow: hidden; /* ✅ Hide any overflow */
}

.related-product-card .name,
.recently-viewed-card .name {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* ✅ Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.6em; /* ✅ Height for exactly 2 lines */
    word-wrap: break-word;
    word-break: break-word; /* ✅ Break long words */
    hyphens: auto; /* ✅ Add hyphens for better wrapping */
}

.related-product-card .brand,
.recently-viewed-card .brand {
    font-size: 0.85em;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap; /* ✅ Keep brand on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-product-card .part-number,
.recently-viewed-card .part-number {
    font-size: 0.75em;
    color: #6c757d;
    font-family: monospace;
    margin-bottom: 8px; /* ✅ Increased bottom margin */
    white-space: nowrap; /* ✅ Keep part number on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ✅ Price always at bottom */
.related-product-card .price,
.recently-viewed-card .price {
    font-weight: 700;
    color: #003087;
    font-size: 14px;
    margin-top: auto; /* ✅ Push to bottom */
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0; /* ✅ Prevent price from shrinking */
    white-space: nowrap; /* ✅ Keep price on one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ✅ Alternative: Use CSS Grid for more precise control */
.related-product-card .info,
.recently-viewed-card .info {
    padding: 10px;
    text-decoration: none;
    color: inherit;
    display: grid; /* ✅ Use grid instead of flex */
    grid-template-rows: 2.6em auto auto 1fr auto; /* ✅ Fixed rows: name, brand, part-number, spacer, price */
    gap: 2px;
    height: 100%;
}

/* ✅ Mobile responsive adjustments */
@media (max-width: 768px) {
    .related-product-card,
    .recently-viewed-card {
        width: 140px;
        height: 260px; /* ✅ Slightly smaller height on mobile */
    }
    
    .related-product-card img,
    .recently-viewed-card img {
        height: 100px;
    }
    
    .related-product-card .part-number,
    .recently-viewed-card .part-number {
        font-size: 0.7em;
    }
    
    .related-product-card .name,
    .recently-viewed-card .name {
        font-size: 13px;
    }
    
    .related-product-card .info,
    .recently-viewed-card .info {
        padding: 8px;
    }
    
    .related-product-card .price,
    .recently-viewed-card .price {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .related-product-card,
    .recently-viewed-card {
        width: 120px;
        height: 240px; /* ✅ Even smaller on very small screens */
    }
    
    .related-product-card img,
    .recently-viewed-card img {
        height: 90px;
    }
    
    .related-product-card .name,
    .recently-viewed-card .name {
        font-size: 12px;
    }
    
    .related-product-card .price,
    .recently-viewed-card .price {
        font-size: 12px;
    }
}

.related-products-grid {
    max-height: 320px !important;
    overflow-y: hidden !important;
}

.related-products-section {
    margin-bottom: 20px !important; /* ✅ Add space between sections */
}

#recently-viewed-section {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* ✅ Admin Controls Styling */
.admin-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.admin-feature-form {
    margin: 0;
}

.btn-admin-feature {
    background: rgba(255, 193, 7, 0.9);
    border: none;
    color: #333;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-admin-feature:hover {
    background: #ffc107;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-admin-feature:active {
    transform: scale(0.95);
}

.btn-admin-feature i {
    pointer-events: none;
}

/* ✅ Make sure the product-details div has relative positioning */
.product-details {
    position: relative;
}

/* ✅ Mobile responsive adjustments */
@media (max-width: 768px) {
    .admin-controls {
        top: 5px;
        right: 5px;
    }
    
    .btn-admin-feature {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}