/* --- Global Styles --- */
body {
    /* Copy this exactly to get that clean Product 2 look */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    background: #f5f5f5;
    color: #333;
}

/* --- Header & Navigation --- */
header {
    background: #222;
    padding: 20px;
}

nav a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* --- Main Content Area --- */
main {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    min-height: 80vh; /* Keeps footer at bottom on short pages */
}

h2, h3 {
    color: #222;
    margin-top: 1.5em;
}

/* --- Reusable Components --- */
.button {
    display: inline-block;
    padding: 12px 25px;
    background: #0077cc;
    color: white;
    text-decoration: none;
    margin: 10px 0;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.button:hover {
    background: #005fa3;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Flips the text back so it looks correct to humans */
.reverse {
    unicode-bidi: bidi-override;
    direction: rtl;
    font-size: 24px;
    color: #0077cc;
    font-weight: bold;
    cursor: text;
}

.email-spoof {
    margin: 20px 0;
}

/* --- Footer --- */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 80px 30px; /* The first number (80px) is the VERTICAL space */
}

.interaction-box {
    margin-top: 20px;
    padding: 15px;
    background: #eef7ff;
    border-radius: 8px;
    display: inline-block;
}

#like-btn {
    background: #ff4b2b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#like-btn:disabled {
    background: #ccc;
    cursor: default;
}

h2 {
            font-size: 32px;
            margin-top: 0;
            color: #222;
            border-left: 5px solid #0077cc;
            padding-left: 15px;
        }

.product-page-container {
    padding: 40px 20px;
    max-width: 900px;
    margin: 40px auto;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 12px;
}