/* Base Styles */
body { font-family: 'Segoe UI', sans-serif; background: transparent; margin: 0; color: #333; position: relative; }

/* Background Image Effect - Blur completely removed */
.page-background {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0.25; 
    /* filter: blur() line removed for full clarity */
    z-index: -10; pointer-events: none;
}

.top-nav { background: #7d2a3f; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.logo { color: white; text-decoration: none; font-weight: bold; font-size: 22px; }
.search-container { flex: 0.6; display: flex; }
.search-container input { width: 100%; padding: 10px 15px; border: none; border-radius: 20px 0 0 20px; outline: none; }
.search-container button { padding: 10px 20px; border: none; background: #fff; color: #7d2a3f; border-radius: 0 20px 20px 0; cursor: pointer; font-weight: bold; }

.container { max-width: 1100px; margin: 20px auto; background: rgba(255, 255, 255, 0.95); padding: 30px; border-radius: 15px; box-shadow: 0 5px 30px rgba(0,0,0,0.08); display: flex; gap: 40px; flex-wrap: wrap; backdrop-filter: blur(10px); }

.product-image { flex: 1; min-width: 350px; display: flex; flex-direction: column; gap: 15px; }
.img-zoom-container { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid #eee; aspect-ratio: 4/3; cursor: zoom-in; background: #fff; }
.main-image-display { width: 100%; height: 100%; object-fit: contain; transition: transform 0.2s ease; }

.thumbnail-container { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 8px; }
.thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: 0.6; border: 2px solid transparent; transition: 0.3s; }
.thumb:hover { opacity: 0.8; }
.thumb.active { border-color: #7d2a3f; opacity: 1; box-shadow: 0 2px 8px rgba(125,42,63,0.3); }

.seller-profile-box { display: flex; align-items: center; gap: 15px; background: #fdf7f8; padding: 15px; border: 1px solid #7d2a3f44; border-radius: 12px; margin-top: 10px; text-decoration: none; color: inherit; transition: 0.3s; cursor: pointer; }
.seller-profile-box:hover { box-shadow: 0 4px 15px rgba(125,42,63,0.15); transform: translateY(-2px); border-color: #7d2a3f; }
.circular-dp { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 2px solid #7d2a3f; }
.seller-profile-info h3 { margin: 0; color: #7d2a3f; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.sold-count-badge { font-size: 13px; color: #555; font-weight: normal; }
.seller-rating-percentage { font-size: 13px; font-weight: bold; color: #f39c12; margin-top: 5px; }

.product-details { flex: 1.2; min-width: 350px; }
.item-name { font-size: 30px; margin: 0 0 10px; }
.price { font-size: 34px; color: #7d2a3f; font-weight: bold; margin: 15px 0; }
.section-title { font-size: 18px; font-weight: bold; border-bottom: 2px solid #7d2a3f; padding-bottom: 5px; margin: 25px 0 15px; color: #7d2a3f; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 20px; }
.info-item { font-size: 15px; border-bottom: 1px solid #f4f4f4; padding-bottom: 5px; }

.shipping-box { background: #f8f9fa; border: 1px solid #e2e8f0; border-radius: 8px; padding: 15px; margin-top: 10px; }
.shipping-primary { font-size: 15px; font-weight: bold; color: #333; display: flex; justify-content: space-between; }
.shipping-more-content { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
.shipping-more-content.expanded { max-height: 500px; transition: max-height 0.5s ease-in; }
.shipping-item { padding: 10px 0; border-top: 1px dashed #ccc; margin-top: 10px; font-size: 14px; display: flex; justify-content: space-between; color: #555; }
.toggle-btn { cursor: pointer; color: #007bff; font-weight: bold; font-size: 13px; margin-top: 10px; display: inline-block; user-select: none; }
.toggle-btn:hover { text-decoration: underline; }

.seller-card { background: #fff; border: 1px solid #ddd; padding: 20px; border-radius: 10px; margin-top: 15px; }
.rating-stars { color: #f1c40f; font-size: 22px; margin-bottom: 10px; }
.detailed-ratings { margin-top: 15px; border-top: 1px solid #eee; padding-top: 15px; }
.rating-item { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; color: #555; }
.rating-item span:last-child { font-weight: bold; color: #f39c12; }

.feedback-box { background: #fdf7f8; padding: 15px; border: 1px solid #ddd; border-radius: 8px; margin-top: 10px; border-left: 5px solid #7d2a3f; }

.buy-now { display: block; background: #28a745; color: white; padding: 18px; text-align: center; border-radius: 10px; text-decoration: none; font-size: 20px; font-weight: bold; margin-top: 20px; transition: 0.3s; }
.buy-now:hover { background: #218838; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(40,167,69,0.3); }
.watch-btn { display: block; padding: 15px; text-align: center; border-radius: 10px; text-decoration: none; font-size: 16px; font-weight: bold; margin-top: 10px; transition: 0.3s; }
.watch-btn.add { background: #fff; color: #7d2a3f; border: 2px solid #7d2a3f; }
.watch-btn.add:hover { background: #fdf7f8; }
.watch-btn.remove { background: #7d2a3f; color: #fff; border: 2px solid #7d2a3f; }
.contact-seller-btn { display: block; background: #007bff; color: white; padding: 15px; text-align: center; border-radius: 10px; text-decoration: none; font-size: 16px; font-weight: bold; margin-top: 10px; transition: 0.3s; }

.scroll-section { max-width: 1200px; margin: 50px auto; padding: 0 20px; }
.side-scroll-container { display: flex; overflow-x: auto; gap: 20px; padding: 20px 0; scroll-behavior: smooth; }
.side-scroll-container::-webkit-scrollbar { height: 8px; }
.side-scroll-container::-webkit-scrollbar-thumb { background: #7d2a3f; border-radius: 10px; }
.rel-card { min-width: 200px; max-width: 200px; background: rgba(255,255,255,0.9); border-radius: 12px; overflow: hidden; border: 1px solid #eee; text-decoration: none; color: inherit; flex-shrink: 0; transition: 0.3s; }
.rel-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.rel-card img { width: 100%; height: 150px; object-fit: cover; }

footer { background-color: #1a1a1a; color: #ddd; padding: 50px 10%; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 50px; }