:root {
    --brand-pink: #e4a6a6;
    --brand-mauve: #a55d69;
    --brand-red: #ab6c6c;
    --brand-beige: #f5e5d6;
    --brand-white: #fff;
    --brand-rose: #b07b7b;
    --brand-marron: #260505;
    --brand-sky: #823e3e;

}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: var(--brand-beige);
    color: var(--brand-red);
}

header {
    background: var(--brand-red);
    color: var(--brand-white);
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer {
    background: var(--brand-red);
    color: var(--brand-white);
    padding: 18px;
    text-align: center;
}

nav {
    display: flex;
    gap: 12px;
}

nav a {
    margin: 0 12px;
    color: var(--brand-white);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        justify-content: center;
    }
}


.logo {
    height: 100px;
    vertical-align: left;
}

nav a {
    margin: 0 12px;
    color: var(--brand-white);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero {
    display: flex;
    align-items: center;
    background: var(--brand-pink);
    padding: 40px 20px;
    gap: 24px;
    /* reduce space between image and text */
    justify-content: flex-start;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* align image to left */
}

.hero-img {
    width: 340px;
    max-width: 90vw;
    border-radius: 18px;
    display: block;
}

.hero-text {
    flex: 1;
    max-width: 420px;
    text-align: left;
    margin-left: 0;
    /* Remove left margin if any */
    align-items: flex-start;
    justify-content: left;
    display: flex;
    flex-direction: column;
}


.cta {
    display: inline-block;
    margin-top: 20px;
    background: var(--brand-rose);
    color: #fff;
    padding: 14px 32px;
    border-radius: 20px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}

/* Responsive for mobile */
.hero {
    display: flex;
    align-items: center;
    /* vertically center text next to image */
    background: var(--brand-pink);
    padding: 40px 20px;
    gap: 40px;
    justify-content: left;
    /* align content to left side */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* align image to left */
}

.hero-img {
    width: 340px;
    max-width: 90vw;
    border-radius: 18px;
    display: block;
}

.hero-text {
    flex: 1;
    max-width: 490px;
    text-align: left;
    /* center text */
}



.cta {
    display: inline-block;
    margin-top: 20px;
    background: var(--brand-rose);
    color: #fff;
    padding: 14px 32px;
    border-radius: 20px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}

.secondary-logo {
    height: 80px;
    display: block;
    margin: 18px auto;
}

.logo-mark {
    height: 36px;
    vertical-align: middle;
    margin-right: 8px;
}

.logo-mark-small {
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

form input,
form textarea {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid var(--brand-red);
    font-family: inherit;
    box-sizing: border-box;
}

button {
    background: var(--brand-mauve);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 16px;
}

section {
    padding: 32px 16px;
    background: var(--brand-white);
    margin-bottom: 18px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(171, 108, 108, 0.05);
}

@media (max-width: 900px) {

    .products-grid,
    .products-list {
        flex-direction: column;
        gap: 26px;
    }

    .hero-img {
        width: 96%;
    }

    .product-card {
        width: 96%;
        margin: auto;
    }
}

blockquote {
    font-style: italic;
    margin: 18px auto;
    padding: 12px;
    background: var(--brand-pink);
    border-radius: 8px;
    max-width: 480px;
}

.social-links a {
    color: var(--brand-rose);
    margin-right: 10px;
    font-weight: bold;
    text-decoration: none;
}

#submitBtn {
    background: linear-gradient(45deg, #850b52, #7e0e62);
    color: #f4ecf2;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

#submitBtn:hover {
    background: linear-gradient(45deg, #833085, #b1549a);
}

#infoLine {
    margin-top: 12px;
    font-weight: bold;
    color: #762b2b;
}


footer {
    font-size: 1rem;
    padding-bottom: 8px;
}

.welcome-heading {
    color: var(--brand-sky);
    font-size: 2.2em;
    font-weight: bold;
    text-align: left;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(176, 123, 123, 0.2);
}

.welcome-subtext {
    color: var(--brand-sky);
    font-size: 1.2em;
    font-style: italic;
    text-align: left;
    letter-spacing: 0.5px;
}

/* Products Section */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px;
}

.product-card {
    background: #fff5f7;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.product-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 8px;
}

.product-card h3 {
    cursor: pointer;
    color: #c76ba0;
    margin: 8px 0;
}

.product-card .price {
    font-weight: bold;
    color: #c76ba0;
    margin: 6px 0;
}

.product-card select,
.product-card input[type=number] {
    margin: 4px 0;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #c76ba0;
    width: 100%;
}

.product-card button {
    margin-top: 8px;
    padding: 6px 12px;
    border: none;
    border-radius: 12px;
    background: #c76ba0;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.product-card button:hover {
    background: #a35387;
}

/*enddddddddddddd*/


.add-to-cart {
    background: var(--brand-marron);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.add-to-cart:hover {
    background: var(--brand-sky);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .products-grid {
        flex-direction: column;
        gap: 26px;
    }

    .product-card {
        width: 96%;
        margin: auto;
    }
}

.best-sellers {
    padding: 32px 16px;
    background: var(--brand-white);
    border-radius: 18px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 2px 8px rgba(171, 108, 108, 0.05);
}

.best-sellers h2 {
    text-align: left;
    margin-bottom: 24px;
    font-size: 2rem;
    color: var(--brand-sky);
}

.best-sellers .products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.best-sellers .product-card {
    background: var(--brand-mauve);
    border-radius: 12px;
    padding: 18px;
    width: 190px;
    text-align: center;
    text-decoration: none;
    color: var(--brand-marron);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.best-sellers .product-card img {
    width: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.best-sellers .product-card p {
    margin: 0;
    font-weight: bold;
    color: var(--brand-marron);
}

.best-sellers .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(137, 67, 67, 0.15);
    background: var(--brand-rose);
    color: #742828;
}

@media (max-width: 900px) {
    .best-sellers .products-grid {
        flex-direction: column;
        gap: 26px;
    }

    .best-sellers .product-card {
        width: 96%;
        margin: auto;
    }
}

/* ---------------- Product Page ---------------- */
.product-view {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: 40px auto;
    max-width: 900px;
    background: var(--brand-white);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(171, 108, 108, 0.15);
}

.product-view img {
    width: 280px;
    max-width: 90%;
    border-radius: 12px;
    object-fit: cover;
}

.product-info {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-info h2 {
    color: var(--brand-marron);
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.product-info .price {
    font-weight: bold;
    color: var(--brand-red);
    font-size: 1.3rem;
}

.product-info p {
    color: var(--brand-sky);
    font-size: 1rem;
    line-height: 1.4;
}

#add-to-cart-btn {
    background: var(--brand-marron);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

#add-to-cart-btn:hover {
    background: var(--brand-sky);
    transform: translateY(-2px);
}

.back-btn {
    display: inline-block;
    margin-top: 12px;
    color: var(--brand-marron);
    text-decoration: none;
    font-weight: bold;
}

.back-btn:hover {
    text-decoration: underline;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .product-view {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 16px;
    }

    .product-info {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .back-btn {
        text-align: center;
    }
}

/* Quantity input */
.quantity-selector input#qty-input {
    border: 2px solid var(--brand-rose);
    border-radius: 6px;
    padding: 4px 8px;
    width: 50px;
    text-align: center;
    font-size: 16px;
}

/* Quantity buttons (+ / -) */
.quantity-selector button.qty-btn {
    background: var(--brand-pink);
    color: var(--brand-marron);
    border: 1px solid var(--brand-rose);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.quantity-selector button.qty-btn:hover {
    background: var(--brand-rose);
    color: var(--brand-white);
}

/* Size and color dropdowns */
.product-info select {
    border: 2px solid var(--brand-rose);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 16px;
    color: var(--brand-marron);
    background: var(--brand-white);
    margin-bottom: 10px;
}

.product-info select:hover {
    border-color: var(--brand-sky);
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.slider-arrows {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.slider-arrows button {
    background: var(--brand-rose);
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 6px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-arrows button:hover {
    background: var(--brand-marron);
}

.cart-item img {
    width: 80px;
    /* smaller width */
    height: auto;
    /* maintain aspect ratio */
    border-radius: 8px;
}

.cart-item {
    gap: 12px;
    /* reduce spacing so layout stays neat */
    padding: 10px;
}