/* ===== OLD ENGLAND FLORIST THEME – CLEAN VERSION ===== */

body {
    font-family: "Georgia", "Times New Roman", serif;
    margin: 0;

    /* vintage paper background */
    background: linear-gradient(120deg, #f4efe6, #ebe5d8, #ffffff);

    min-height: 100vh;
}

/* ===== HEADER – Victorian Style ===== */
header {
    text-align: center;
    background: #3e4a3c;   /* dark sage */
    color: #f4efe6;

    padding: 30px 20px;
    border-bottom: 6px solid #8b3a3a; /* burgundy line */

    animation: slideDown 1.5s;
}

header h1 {
    font-size: 2.6rem;
    letter-spacing: 3px;
    font-weight: normal;
}

header p {
    font-style: italic;
    opacity: .9;
}

/* ===== GRID LAYOUT ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
    max-width: 1200px;

    margin: 40px auto;
    padding: 0 20px;
}

/* ===== CONE WRAPPER CARD ===== */
.card {
    position: relative;

    background: linear-gradient(160deg, #fff5e6, #ebdfc7);

    padding: 20px 15px 40px;
    text-align: center;

    /* Cone bouquet shape */
    clip-path: polygon(
        50% 0%,
        95% 22%,
        85% 100%,
        15% 100%,
        5% 22%
    );

    border: 2px solid #c4b08a;
    box-shadow: 0 12px 20px rgba(0,0,0,.18);

    animation: float 6s infinite ease-in-out;
    transition: .4s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,.25);
}

/* ===== IMAGE – FLOWERS POP OUT ===== */
.card img {
    width: 88%;
    height: 190px;

    border-radius: 70% 70% 40% 40%;
    border: 6px solid #e0d3b6;

    object-fit: cover;

    margin-top: -10px;
    box-shadow: 0 8px 12px rgba(0,0,0,.2);
}

/* ===== RIBBON EFFECT ===== */
.card::after {
    content: "🎀";
    position: absolute;

    bottom:12px;
    left:50%;
    transform: translateX(-50%);

    font-size: 22px;

    filter: drop-shadow(0 3px 4px rgba(0,0,0,.3));
}


/* ===== TEXT STYLE ===== */
.card h3 {
    color: #5a2d2d;
    font-weight: normal;
    letter-spacing: 1px;
}

.card p {
    color: #3e4a3c;
    font-weight: bold;
}

/* ===== BUTTON ===== */
button {
    background: #8b3a3a;
    color: #fffaf0;

    border: none;
    padding: 10px;
    width: 85%;

    border-radius: 30px;
    font-family: Georgia;

    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

button:hover {
    background: #5a2d2d;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    color: #5a2d2d;

    font-style: italic;
    padding: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* stagger movement */
.card:nth-child(even){ animation-delay:1s; }
.card:nth-child(3n){ animation-delay:2s; }

/* ===== CART PAGE ===== */
.cart-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px 40px;
    text-align: center;
}

.cart-card {
    background: linear-gradient(160deg, #fff5e6, #ebdfc7);
    border: 2px solid #c4b08a;
    box-shadow: 0 12px 20px rgba(0,0,0,.18);
    padding: 30px 20px 40px;
    border-radius: 20px;
}

.cart-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 70% 70% 40% 40%;
    border: 6px solid #e0d3b6;
    box-shadow: 0 8px 12px rgba(0,0,0,.2);
    margin-bottom: 15px;
}

.cart-card h3 {
    color: #5a2d2d;
    margin-bottom: 10px;
}

.cart-card p {
    color: #3e4a3c;
    margin: 4px 0;
    font-weight: bold;
}

.back-button {
    margin-top: 25px;
    max-width: 260px;
}