/* Purchase Options Styling */
.purchase-options {
    margin: 20px 0;
    display: flex;
    gap: 15px;
}

.option-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    flex: 1;
    min-width: 0;
}

.option-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: #007bff;
    background-color: #f8f9ff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.option-header h4 {
    margin: 0;
    color: #333;
    font-weight: 600;
    font-size: 1em;
}

.option-header .price {
    font-size: 1.1em;
    font-weight: bold;
    color: #007bff;
}

.option-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.option-details li {
    padding: 3px 0;
    color: #666;
    font-size: 0.85em;
    line-height: 1.3;
}

/* Product gallery styling */
.product-gallery {
    width: 100%;
    padding: 20px;
}

.main-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.main-image {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

/* Gallery navigation arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

/* Thumbnails container */
.thumbnails-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.thumbnails-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnails-container::-webkit-scrollbar-track {
    background: transparent;
}

.thumbnails-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: #007bff;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product info styling */
.product-info {
    padding: 20px;
    height: fit-content;
}

.product-info h1 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8em;
}

/* Product Categories Styling */
.product-categories {
    margin-bottom: 20px;
}

.product-categories h4 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1em;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e3f2fd;
    color: #1976d2;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #bbdefb;
}

.category-tag:hover {
    background-color: #1976d2;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(25, 118, 210, 0.2);
}

/* Product Description Styling */
.product-description {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.product-description h4 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1em;
}

.product-description p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.category {
    color: #666;
    margin-bottom: 20px;
}

.category a {
    color: #007bff;
    text-decoration: none;
}

.product-options h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Product Specs Styling */
.product-specs {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-specs h4 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-specs ul {
    list-style: none;
    padding: 0;
}

.product-specs li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs li strong {
    color: #333;
    display: inline-block;
    min-width: 100px;
    margin-right: 10px;
}

/* Inline Category Tags */
.category-tags-inline {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.category-tag-small {
    display: inline-block;
    padding: 3px 8px;
    background-color: #e3f2fd;
    color: #1976d2;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #bbdefb;
}

.category-tag-small:hover {
    background-color: #1976d2;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(25, 118, 210, 0.2);
}

/* Product Description Wrapper */
.product-description-wrapper {
    margin-top: 5px;
}

/* Inline Product Description */
.product-description-inline {
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #007bff;
    color: #555;
    line-height: 1.5;
    font-size: 0.9em;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.product-description-inline.collapsed {
    max-height: 3em; /* 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Toggle Button */
.btn-toggle-description {
    background: none;
    border: none;
    color: #007bff;
    font-size: 0.85em;
    padding: 5px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.btn-toggle-description:hover {
    color: #0056b3;
    text-decoration: underline;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.expanded {
    transform: rotate(180deg);
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 12px;
    margin-right: 5px;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

/* Button styling */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 40px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Button container for better centering */
.btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Related products */
.related-products {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid #eee;
}

.related-products h2 {
	color: #333;
	margin-bottom: 30px;
	text-align: center;
}

/* Section titles */
.section-title {
	color: #333;
	margin-bottom: 30px;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 600;
}

/* Fancybox custom styles */
.fancybox-container {
	z-index: 9999;
}

.fancybox-bg {
	background: rgba(0, 0, 0, 0.9);
}

.fancybox-slide {
	background: transparent;
}

.fancybox-content {
	background: transparent;
}



.fancybox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #333;
	text-decoration: none;
	z-index: 10000;
	transition: all 0.3s ease;
}

.fancybox-nav:hover {
	background: rgba(255, 255, 255, 1);
	transform: scale(1.1);
}

.fancybox-prev {
	left: 15px;
}

.fancybox-next {
	right: 15px;
}

.fancybox-nav span {
	display: none;
}

.fancybox-nav::before {
	content: '';
	width: 12px;
	height: 12px;
	border-top: 2px solid #333;
	border-right: 2px solid #333;
}

.fancybox-prev::before {
	transform: rotate(-135deg);
}

.fancybox-next::before {
	transform: rotate(45deg);
}

.item {
    text-align: center;
    margin-bottom: 20px;
}

.item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.item h4 {
    margin: 10px 0;
}

.item h4 a {
    color: #333;
    text-decoration: none;
}

.item h4 a:hover {
    color: #007bff;
}

.item .price {
    color: #007bff;
    font-weight: bold;
    font-size: 1.1em;
}

/* No related products message */
.no-related-products {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.no-products-message {
    color: #6c757d;
}

.no-products-message i {
    font-size: 3em;
    color: #adb5bd;
    margin-bottom: 15px;
    display: block;
}

.no-products-message p {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
}

.no-products-message small {
    color: #6c757d;
    font-style: italic;
}

/* Responsive design for purchase options */
@media (max-width: 768px) {
    .purchase-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .option-card {
        padding: 12px;
    }
    
    .option-header h4 {
        font-size: 0.95em;
    }
    
    .option-header .price {
        font-size: 1em;
    }
    
    .option-details li {
        font-size: 0.8em;
    }
    
    .product-gallery {
        padding: 10px;
    }
    
    .main-image img {
        border-radius: 6px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .product-info h1 {
        font-size: 1.5em;
    }
    

    
    .fancybox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .fancybox-prev {
        left: 10px;
    }
    
    .fancybox-next {
        right: 10px;
    }
    
    /* Responsive for description toggle */
    .btn-toggle-description {
        font-size: 0.8em;
        padding: 3px 0;
    }
    
    .product-description-inline {
        font-size: 0.85em;
        padding: 8px;
    }
} 

/* Modal Styles */
.modal-lg {
    max-width: 800px;
}

.product-info-summary h6 {
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.product-info-summary p {
    margin-bottom: 15px;
    color: #666;
    font-size: 16px;
}

.copy-info-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.consult-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-button-section {
    margin-top: 20px;
}

/* Modal Contact Buttons - Same style as footer buttons */
.modal .btn-call-now {
    position: static;
    right: auto;
    bottom: auto;
    background: #25d366;
    color: white;
    padding: 12px 15px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
    height: 48px;
    font-size: 14px;
    font-weight: 500;
}

.modal .btn-call-now.btn-call-now-2 {
    background: #0084ff;
}

.modal .btn-call-now.btn-call-now-2:hover {
    background: #006bb3;
}

.modal .btn-call-now.btn-call-now-3 {
    background: #0068ff;
}

.modal .btn-call-now.btn-call-now-3:hover {
    background: #0052cc;
}

.modal .btn-call-now img {
    width: 24px;
    height: 24px;
}

.modal .btn-call-now span {
    font-size: 14px;
    font-weight: 500;
}

.modal .btn-call-now:hover {
    background: #128c7e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.modal .btn-call-now.btn-call-now-2 {
    background: #0084ff;
}

.modal .btn-call-now.btn-call-now-2:hover {
    background: #006bb3;
}

.modal .btn-call-now.btn-call-now-3 {
    background: #0068ff;
}

.modal .btn-call-now.btn-call-now-3:hover {
    background: #0052cc;
}

.modal .btn-call-now img {
    width: 24px;
    height: 24px;
}

.modal .btn-call-now span {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-lg {
        max-width: 95%;
        margin: 10px auto;
    }
    
    .action-buttons {
        margin-top: 20px;
    }
} 