/*
Dhruv Shukla
991832787
*/

#container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #444;
    border-radius: 24px;
    background: #f9fbff;           /* solid very light cool white-gray */
    box-shadow: 0 10px 30px #0000001e;
    padding: 30px;
    margin: 40px auto;
}

header p {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 30px 0;
}

/* Product Titles (header row) */
#image_header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: "heading1 heading2 heading3 heading4";
    width: 100%;
    margin-bottom: 20px;
    border: none;
}

#heading1, #heading2, #heading3, #heading4 {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #334155;
    padding: 12px 0;
    background-color: #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 2px 6px #0000000f;
    margin: 0 12px;
}

/* Images row */
#image_box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: "sec1 sec2 sec3 sec4";
    width: 100%;
    gap: 24px;
    margin: 20px 0 40px 0;
}

#sec1, #sec2, #sec3, #sec4 {
    text-align: center;
}

img {
    width: 100%;
    max-width: 280px;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 18px #0000001e;
    border: 1px solid #e2e8f0;
}

img:hover {
    box-shadow: 0 12px 32px #0000002e;
    border-color: #cbd5e1;
}

/* Order counters row */
#order_number {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-areas: "p1 p2 p3 p4";
    width: 100%;
    gap: 24px;
}

#p1, #p2, #p3, #p4 {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px #00000014;
}

/* Product-specific styles */
#p1 {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

#p1:hover {
    background-color: #d1fae5;
    box-shadow: 0 6px 20px #065f461e;
}

#p2 {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

#p2:hover {
    background-color: #dbeafe;
    box-shadow: 0 6px 20px #1e40af1e;
}

#p3 {
    background-color: #fefce8;
    color: #854d0e;
    border: 1px solid #fde047;
}

#p3:hover {
    background-color: #fef9c3;
    box-shadow: 0 6px 20px #854d0e1e;
}

#p4 {
    background-color: #fdf2f8;
    color: #9d174d;
    border: 1px solid #f9a8d4;
}

#p4:hover {
    background-color: #fce7f3;
    box-shadow: 0 6px 20px #9d174d1e;
}