.product-detail { padding: 0 3rem; } .product-container { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; } @media (min-width: 768px) { .product-container { grid-template-columns: 1fr 1fr; } } .product-gallery { display: flex; flex-direction: column; gap: 1rem; } .main-image { position: relative; overflow: hidden; border-radius: 8px; background-color: var(--light-gray); } .product-image { width: 100%; height: auto; display: block; object-fit: contain; aspect-ratio: 4/3; } .thumbnail-gallery { display: flex; gap: 0.5rem; } .thumbnail { border: none; padding: 0; background: none; cursor: pointer; border-radius: 4px; overflow: hidden; border: 2px solid transparent; transition: var(--transition); } .thumbnail.active { border-color: var(--secondary-color); } .thumbnail img { width: 60px; height: 60px; object-fit: cover; display: block; } .product-info { display: flex; flex-direction: column; gap: 1.5rem; } .product-header { display: flex; flex-direction: column; gap: 0.5rem; } .product-title { font-size: 1.8rem; color: var(--primary-color); line-height: 1.2; } .product-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: var(--dark-gray); } .rating { display: flex; align-items: center; gap: 0.3rem; } .stars { color: #f39c12; } .product-price { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; } .current-price { font-size: 1.8rem; font-weight: bold; color: var(--accent-color); } .original-price { text-decoration: line-through; color: var(--dark-gray); } .discount { background-color: var(--accent-color); color: white; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.9rem; } .product-description { line-height: 1.7; } .product-description ul { margin: 1rem 0; padding-left: 1.5rem; } .product-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; } .quantity-selector { display: flex; align-items: center; border: 1px solid var(--medium-gray); border-radius: 4px; overflow: hidden; } .quantity-btn { border: none; background-color: var(--light-gray); width: 2.5rem; height: 2.5rem; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; } .quantity-input { width: 3rem; height: 2.5rem; text-align: center; border: none; border-left: 1px solid var(--medium-gray); border-right: 1px solid var(--medium-gray); -moz-appearance: textfield; } .quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .add-to-cart, .buy-now { padding: 0.75rem 1.5rem; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; transition: var(--transition); flex: 1; min-width: 150px; } .add-to-cart { background-color: var(--secondary-color); color: white; } .add-to-cart:hover { background-color: #2980b9; } .buy-now { background-color: var(--accent-color); color: white; } .buy-now:hover { background-color: #c0392b; } .product-specs dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1rem; } .product-specs dt { font-weight: bold; color: var(--primary-color); } .product-specs dd { margin-left: 0; } .tabs { margin-top: 2rem; } .tabs [role="tablist"] { display: flex; border-bottom: 1px solid var(--medium-gray); margin-bottom: 1rem; } .tabs [role="tab"] { padding: 0.5rem 1rem; border: none; background: none; cursor: pointer; position: relative; font-weight: bold; color: var(--dark-gray); transition: var(--transition); } .tabs [role="tab"][aria-selected="true"] { color: var(--primary-color); } .tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background-color: var(--secondary-color); } .tabs [role="tabpanel"] { padding: 1rem 0; } .tabs [role="tabpanel"] h3 { margin: 1rem 0 0.5rem; font-size: 1.1rem; } .related-products { margin: 3rem 0; } .related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; } .related-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); text-decoration: none; color: inherit; } .related-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .related-image { width: 100%; height: 150px; object-fit: cover; } .related-info { padding: 1rem; } .related-title { font-size: 1rem; margin-bottom: 0.5rem; } .related-price { color: var(--accent-color); font-weight: bold; } .contact-cont { width: 100%; padding: 3rem; background: rgba(1, 177, 105, 0.65); } .media-post-wrap .thumb { position: relative; border-radius: 5px; } .media-post-wrap .thumb img { width: 100%; border-radius: 5px; } @media (min-width: 992px) { .contact-cont { padding: 3rem; margin: 2rem 0; } .img-container, .img-container-r { display: flex; align-items: center; justify-content: space-between; } .img-container-r { flex-direction: row-reverse; } } .contact-area form { margin-top: 60px; } .contact-area .form-group { position: relative; margin-bottom: 20px; } .contact-area input, .contact-area textarea { position: relative; width: 100%; height: 50px; color: #777; padding: 10px 25px; background: #f4f4f4; display: block; border: 1px solid #ececec; } .contact-area .form-group select { -webkit-appearance: none; -ms-appearance: none; -moz-appearance: none; -o-appearance: none; height: 50px; width: 100%; padding: 10px 20px; border: 1px solid #ececec; background: #f4f4f4 url(../images/icons/icon-select.png) right center no-repeat; cursor: pointer; } .contact-area .form-group option { font-weight: 400; display: block; white-space: pre; height: 50px; padding: 20px; } .contact-area .form-group option:hover { background: #7b64cb; } .contact-area textarea { height: 190px; resize: none; padding-top: 15px; } .contact-area button { width: 100%; height: 50px; } .contact-area .form-group i { position: absolute; top: 16px; right: 20px; font-size: 15px; } .btn-style-one { font-size: 14px; font-weight: 600; color: #fff; line-height: 27px; padding: 8px 36px; background: #f59c1a; border: 1px solid #f59c1a; display: inline-block; text-transform: uppercase; font-family: "Source Sans Pro", sans-serif; transition: all 0.5s ease; -moz-transition: all 0.5s ease; -webkit-transition: all 0.5s ease; -ms-transition: all 0.5s ease; -o-transition: all 0.5s ease; border-radius: 0.375rem; } .btn-style-one:hover { color: #f59c1a; border: 1px solid #f59c1a; background: #fff; transition: all 0.5s ease; -moz-transition: all 0.5s ease; -webkit-transition: all 0.5s ease; -ms-transition: all 0.5s ease; -o-transition: all 0.5s ease; } 