/* Premium Would You Rather Store - Complete Styled CSS */
:root {
    --accent: #ffcc00;
    --accent-dark: #e6b800;
    --bg-light: #f1f3f6;
    --text-main: #212121;
    --text-muted: #878787;
    --primary-blue: #2874f0;
    --secondary-orange: #fb641b;
    --secondary-yellow: #ff9f00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Roboto, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- Header & Navbar --- */
.navbar {
    background-color: var(--primary-blue);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-content {
    max-width: 1248px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

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

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.wyr-brand {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    font-style: italic;
    line-height: 1;
}

.explore-plus {
    font-size: 11px;
    font-style: italic;
    color: #fff;
    margin-top: 2px;
}

.plus-icon {
    color: #ffe500;
    font-weight: 900;
}

/* Search Bar */
.search-container {
    background-color: #f0f5ff;
    height: 40px;
    max-width: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 20px;
}

.search-container input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    color: #212121;
    padding-left: 8px;
    background: transparent;
}

.search-container i {
    color: var(--primary-blue);
    font-size: 16px;
    cursor: pointer;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #fff;
    margin-left: 20px;
}

.login-btn {
    background-color: #fff;
    color: var(--primary-blue);
    border: none;
    width: 110px;
    height: 36px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #fff;
}

.login-btn:hover {
    background-color: #f0f0f0;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 16px;
    font-weight: 500;
}

.nav-links span {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Layout --- */
.container {
    max-width: 1248px;
    margin: 16px auto;
}

.product-page {
    display: flex;
    background-color: #fff;
    padding: 16px;
    gap: 24px;
}

.product-visuals {
    width: 40%;
    position: sticky;
    top: 80px;
    height: fit-content;
}

.image-wrapper {
    border: 1px solid #f0f0f0;
    padding: 12px;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.image-wrapper img {
    max-width: 100%;
    height: 400px;
    object-fit: contain;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-buttons button {
    flex: 1;
    height: 56px;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border-radius: 2px;
}

.add-cart-btn { background-color: var(--secondary-yellow); }
.buy-now-btn { background-color: var(--secondary-orange); }

/* --- Product Details --- */
.product-details {
    flex: 1;
}

.breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rating-badge {
    background-color: #388e3c;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.rating-count {
    font-size: 14px;
    color: var(--text-muted);
}

.assured { height: 21px; }

.price-section {
    margin: 12px 0;
}

.special-price {
    color: #388e3c;
    font-weight: 600;
    font-size: 14px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.current-price {
    font-size: 28px;
    font-weight: 600;
}

.original-price {
    color: var(--text-muted);
    text-decoration: line-through;
}

.discount {
    color: #388e3c;
    font-weight: 600;
}

.offers {
    margin-top: 24px;
}

.offers h3 { font-size: 16px; margin-bottom: 12px; }
.offers ul { list-style: none; }
.offers li {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}
.offers li i { color: #388e3c; }

/* --- Reviews Section --- */
.reviews-section {
    margin-top: 40px;
    border-top: 1px solid #f0f0f0;
    padding-top: 24px;
}

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

.rate-btn {
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    cursor: pointer;
}

.review-card {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-title {
    font-weight: 500;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    margin-bottom: 12px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}

.user-name { font-weight: 600; color: #212121; }
.verified-buyer { display: flex; align-items: center; gap: 4px; }
.verified-buyer i { color: var(--text-muted); }

/* --- Footer --- */
.fk-footer {
    background-color: #172337;
    color: #fff;
    margin-top: 40px;
    padding-top: 40px;
}

.footer-content {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col h4 {
    color: #878787;
    font-size: 12px;
    margin-bottom: 15px;
}

.footer-col span {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
    cursor: pointer;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #454d5e;
    margin-top: 40px;
}

/* --- Prank Modal --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: #fff;
    width: 450px;
    padding: 40px;
    text-align: center;
    border-radius: 4px;
}

.prank-body i {
    font-size: 60px;
    color: var(--secondary-orange);
    margin-bottom: 20px;
}

.prank-body h2 { margin-bottom: 16px; }
.prank-body p { margin-bottom: 12px; color: #666; }

#close-modal {
    margin-top: 20px;
    padding: 12px 30px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
}

.hidden { display: none; }
