
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    width: 100%;
}

.header-wrapper {
    padding: 20px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    font-weight: 600;
}

.header-nav a:hover {
    color: #0066cc;
}

.header-nav i {
    font-size: 18px;
}

/* Filter Bar Styles */
.filter-bar {
	width: 100%;
	margin-top: 0;
	background-color: #EDEDED;
	position: sticky;
    top: 0;
    z-index: 99;
}

.filter-bar-wrapper {
    padding: 15px 0px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.filter-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-right: 5px;
    text-transform: uppercase;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 15%;
}

.filter-group label {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: #0066cc;
}

.filter-sort-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-sort-label {
    font-size: 13px;
    color: #666;
}

.filter-sort-group select {
	padding: 10px 8px 10px;
	border: 1px solid #aaa;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	color: #333;
	cursor: pointer;
}

.filter-sort-group select:focus {
    outline: none;
    border-color: #0066cc;
}

.view-toggle {
    cursor: pointer;
    font-size: 16px;
    color: #666;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

.view-toggle:hover {
    color: #0066cc;
    border-color: #0066cc;
}

/* Main Content Styles */
.main-content {
    width: 100%;
}

.main-content-wrapper {
    padding: 40px 0px;
    margin: 0 auto;
}

.page-title {
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 0px;
    color: #666666;
    text-align: center;
    font-family: "Playfair Display", serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 30px;
    margin-bottom: 40px;
}

.products-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 66.666%;
    margin: 0 auto;
}

/* Page heading + search row */
.page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.page-search {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-search-input {
	padding: 10px 12px;
	font-size: 12px;
	width: 100%;
	border: 2px solid #d1d5db;
	border-radius: 8px;
	background: transparent;
	outline: none !important;
}

.page-search-input:hover {
	border-color: #9ca3af;
}
.page-search-input:focus {
    border-color: #3b82f6;
}
.page-search-btn {
    border: none;
    background: #00a0df;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

/* Product card new layout */
.product-card {
    border-radius: 8px;
    padding: 24px 22px 20px;
}

.product-badge {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 12px;
	color: #777;
	border-radius: 20px;
	padding: 5px 12px;
	font-weight: 500;
	border: 1px solid #e0e0e0;
	z-index: 10;
	min-width: 90px;
	text-align: center;
}

.product-title {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #00A0DF;
	text-align: center;
}

.product-subtitle {
	font-size: 16px;
	color: #363636;
	margin-bottom: 18px;
	text-align: center;
	font-weight: normal;
	min-height: 38px;
	overflow: hidden;
	cursor: pointer;
}

.product-description {
	font-size: 13px;
	color: #777;
	margin-bottom: 10px;
	line-height: 1.3;
	text-align: left;
	border: none;
	padding: 0;
	font-weight: 600;
}

.product-meta {
    font-size: 11px;
    color: #00a0df;
    margin-bottom: 12px;
    display: flex;
    gap: 4px;
}

.product-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 15px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms ease-in-out;
}
.product-card:hover .product-footer {
	opacity: 1;
	visibility: visible;
	transition: opacity 300ms ease-in-out;
}
.product-price {
	font-size: 17px;
	font-weight: 500;
	color: #00a0df;
	text-align: center;
	font-style: italic;
	text-transform: uppercase;
}
.product-price span {
	font-size: 14px;
}
.add-to-cart-btn {
    background-color: #00a0df;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin: 0;
    text-transform: uppercase;
}

.add-to-cart-btn i {
    font-size: 14px;
    margin-right: 5px;
}

/* Product Modal */
.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal-image{
    display: flex;
    align-items: center;
    position: relative;
}

.product-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 720px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.product-modal.open .product-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.product-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #111;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    line-height: 1.8;
    z-index: 1;
}

.product-modal-body {
    display: flex;
    gap: 30px;
}

.product-modal-image img {
    max-width: 220px;
    height: auto;
}

.product-modal-details {
    flex: 1;
}

.product-modal-badge {
    display: inline-block;
    font-size: 11px;
    color: #444;
    background: #f2f2f2;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.product-modal-meta {
    font-size: 12px;
    color: #00a0df;
    margin-bottom: 8px;
}

.product-modal-title {
    font-size: 22px;
    margin-bottom: 4px;
    color: #333;
}

.product-modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.product-modal-description {
    font-size: 13px;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.6;
}

.product-modal-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.product-modal-specs span {
    font-size: 11px;
    color: #00a0df;
    display: block;
    margin-bottom: 4px;
}

.product-modal-specs strong {
    font-size: 13px;
    color: #333;
}

.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-modal-price {
    font-size: 22px;
    font-weight: 600;
    color: #00a0df;
}

.product-modal-cart {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
}

.product-modal-cart i {
    font-size: 14px;
}

/* Product Card Styles */
.product-card {
    background-color: #fff;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.product-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #f8f9fa; */
    border-radius: 4px;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 300ms ease-in-out;
}

.favorite-icon {
    position: absolute;
    top: 4px;
    right: 0px;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}
.favorite-icon-model {
    position: absolute;
    top: 32px;
    left: 232px;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

/* .product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
}

.product-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
    text-align: center;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 5px 2px;
} */

.product-details {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.product-details div {
    margin-bottom: 5px;
}

.product-price {
    font-size: 18px;
    font-weight: 500;
    color: #00a0df;
    margin-bottom: 0px;
    text-align: center;
}

.add-to-cart-btn {
    background-color: #4a4a4a !important;
    color: #fff !important;
    border: none;
    padding: 8px 11px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    /* width: 35%; */
    margin-bottom: 0px;
    text-decoration: none;
}

.add-to-cart-btn:hover, .product-modal-cart:hover {
    background-color: #1F73BB !important;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    justify-content: center;
}

.tag {
    font-size: 12px;
    color: #666;
    padding: 4px 35px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.tag::before {
    content: '•';
    color: #0066cc;
    margin-right: 5px;
}

/* Footer Styles */
.footer {
    width: 100%;
    padding-top: 0px;
}

.footer-wrapper {
    padding: 30px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-top: 1px solid #e0e0e0;
}

.footer-copyright {
    font-size: 14px;
    color: #666;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0066cc;
}

.filter-group.fifth-filter {
	width: 14%;
}
.filter-group.last-filter {
	width: 19%;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .header-wrapper {
        padding: 20px 60px;
    }
    
    .filter-bar-wrapper {
        padding: 15px 0px;
    }
    
    .main-content-wrapper {
        padding: 40px 60px;
    }
    
    .footer-wrapper {
        padding: 30px 60px;
    }
}

@media (max-width: 1200px) {
    .header-wrapper {
        padding: 20px 0px;
    }
    
    .filter-bar-wrapper {
        padding: 15px 0px;
    }
    
    .main-content-wrapper {
        padding: 40px 40px;
    }
    
    .footer-wrapper {
        padding: 30px 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 25px;
    }
    
    .products-row-2 {
        max-width: 75%;
    }
    .filter-group.last-filter {
    	width: 17%;
    }
}

@media (max-width: 992px) {
    .header-wrapper {
        padding: 15px 0px;
    }

    .filter-bar-wrapper {
        padding: 15px 0px;
        position: relative;
    }

    .main-content-wrapper {
        padding: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
    }
    
    .products-row-2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    .filter-group {
    	width: 23%;
    }
    .filter-group.forth-filter .dropdown-menu {
    	right: 10px;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .header-nav {
        gap: 20px;
    }

    .filter-bar-wrapper {
        padding: 15px 0px;
        align-items: flex-start;
    }

    .filter-group {
        width: 48% !important;
    }

    .filter-group select {
        width: 100%;
    }

    .view-toggle {
        margin-left: 0;
    }

    .main-content-wrapper {
        padding: 20px;
    }

    .page-title {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
    }
    
    .products-row-2 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .footer-wrapper {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    .filter-bar {
	    position: relative;
    }
    .filter-group.second-filter .dropdown-menu {
    	right: 10px;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        padding: 10px 15px;
    }

    .logo {
        font-size: 24px;
    }

    .header-nav {
        gap: 15px;
        font-size: 12px;
    }

    .filter-bar-wrapper {
        padding: 15px 0px;
    }

    .main-content-wrapper {
        padding: 15px;
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .product-card {
        padding: 15px;
    }

    .product-image-container {
        height: 250px;
    }

    .product-price {
        font-size: 20px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 420px) {
    .filter-group {
    	width: 47% !important;
    }
}
.fa.favorite-icon {
	color: #E6E3DD;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 22px;
}
.inwish .fa.favorite-icon, .fa.favorite-icon:hover {
	color: #00A0DF;
}

.fa.favorite-icon:hover::before {
  content: "\f004";
}
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1140px !important;
  }
}

.product-card:hover .product-image-container img {
	opacity: 0.8;
}

.filter-group > div {
	width: 100%;
}
.page-search-input::placeholder {
	color: #000;
}
