/* Webshop.css - Updated: Full responsive design with breakpoints for all common screen sizes */

.content {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    max-width: 1400px;
    padding-top: 12%;
    text-align: center;
    box-sizing: border-box;
}

.subtext {
    font-size: 28px;
    margin: 30px auto 80px;
    max-width: 900px;
    opacity: 0.9;
    font-family: "Orbitron", Arial, sans-serif;
    letter-spacing: 1.2px;
    color: #ffffff;
}

/* Section headings - bold Orbitron */
h1 {
    font-family: "CyberDyne", Arial, sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff9900;
}

h2 {
    font-family: "Orbitron", Arial, sans-serif;
    font-weight: bold;
    margin: 100px auto 40px;
    font-size: 46px;
    color: #ff9900;
}

/* Product grid - centered, responsive columns */
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    justify-content: center;
    justify-items: center;
    align-items: start;
    margin: 0 auto 80px;
    padding: 0 20px;
    max-width: 1400px;
}

/* Product - clean & transparent */
.product {
    padding: 0;
    transition: transform 0.3s ease;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    max-width: 280px;
}

.product:hover {
    transform: translateY(-8px);
}

.product img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product h5 {
    margin: 15px 0 8px;
    font-size: 24px;
    color: #ffcc66;
    font-family: "Orbitron", Arial, sans-serif;
}

.product p {
    margin: 8px 0;
    font-size: 18px;
    color: #ffffff;
    opacity: 0.9;
}

.product select {
    width: 100%;
    padding: 10px;
    font-size: 17px;
    background: rgba(0, 0, 0, 0.8);
    color: #ff9900;
    border: 2px solid #ff9900;
    border-radius: 10px;
    margin: 12px 0 16px;
    text-align: center;
    text-align-last: center;
}

/* Buttons */
.addToCartButton,
.add-to-cart-button {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 20px auto 0;
    padding: 12px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.8);
    color: #ff9900;
    border: 3px solid #ff9900;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    text-align: center;
}

.addToCartButton:hover,
.add-to-cart-button:hover {
    background: #ff9900;
    color: black;
}

/* Links */
.product a,
.product a:link,
.product a:visited,
.product a:hover,
.product a:active {
    color: #ffcc66;
    text-decoration: none;
}

.product a:hover h5 {
    text-decoration: underline;
    color: #ffffff;
}

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────────────────────────── */

/* Very small phones (≤ 480px) */
@media (max-width: 480px) {
    .content {
        width: 94%;
        padding-top: 34%;
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 32px;
        margin: 60px auto 30px;
    }

    .subtext {
        font-size: 18px;
        margin: 20px auto 50px;
    }

    .product-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

    .product img {
        height: 140px;
    }

    .product h5 {
        font-size: 16px;
    }

    .product p {
        font-size: 14px;
    }

    .product select {
        font-size: 14px;
        padding: 8px;
    }

    .addToCartButton,
    .add-to-cart-button {
        font-size: 14px;
        padding: 10px;
        max-width: 140px;
    }
}

/* Small phones & portrait tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .content {
        width: 92%;
        padding-top: 28%;
    }

    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 34px;
    }

    .subtext {
        font-size: 24px;
    }

    .product-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 14px;
    }

    .product img {
        height: 160px;
    }

    .product h5 {
        font-size: 18px;
    }

    .product p {
        font-size: 14px;
    }

    .product select {
        font-size: 12px;
        padding: 8px;
        max-width: 130px;
    }

    .addToCartButton,
    .add-to-cart-button {
        font-size: 13px;
        padding: 5px;
        max-width: 150px;
    }
}

/* Tablets & small laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .content {
        width: 88%;
        padding-top: 24%;
    }

    h1 {
        font-size: 46px;
    }

    h2 {
        font-size: 40px;
    }

    .product-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

/* Large laptops & desktops (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .content {
        width: 82%;
        max-width: 1200px;
        padding-top: 20%;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 42px;
    }
}

/* Full HD & larger (1441px+) */
@media (min-width: 1441px) {
    .content {
        width: 80%;
        max-width: 1400px;
        padding-top: 12%;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 44px;
    }

    .product-container {
        gap: 25px;
    }

    .product img {
        height: 240px;
    }
}

/* Ultra-wide / 4K (2560px+) */
@media (min-width: 2560px) {
    .content {
        max-width: 1600px;
        padding-top: 14%;
    }

    h1 {
        font-size: 60px;
    }

    h2 {
        font-size: 54px;
    }

    .product-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .product img {
        height: 280px;
    }

    .product h5 {
        font-size: 28px;
    }

    .product p {
        font-size: 20px;
    }
}