* {
    margin: 0;
    padding: 0;
}

main {
    position: relative;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 2000px;
    margin-bottom: 50px;
    overflow-x: hidden;
}

a {
    color: #000;
}

.hero-banner {
    height: 400px;
    width: 100%;
    background: url(../../images/long-valley-ranch.jpg);
    background-size: cover;
    background-position: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 400px;
    z-index: 1;
    background: rgba(0,0,0,.3);
}

.hero-banner h1 {
    position: relative;
    margin-top: 100px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 46px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
}

.hero-banner .title-break {
    position: relative;
    display: block;
    margin-top: 10px;
    width: 50px;
    height: 4px;
    margin-bottom: 25px;
    background: #fff;
    margin-left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-banner h2 {
    position: relative;
    margin-top: -10px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
}

.hero-banner a {
    text-decoration: none;
}

.hero-banner button {
    position: relative;
    display: block;
    margin-left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin-top: 25px;
    z-index: 2;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 2px solid #fff;
    transition: 0.5s ease all;
    cursor: pointer;
}

.hero-banner button:hover {
    background: transparent;
    color: #fff;
}

.product-list {
    position: relative;
    margin-top: 50px;
    width: 90%;
    max-width: 1600px;
    margin-left: 50%;
    transform: translateX(-50%);
    border-collapse: collapse;
    user-select: none;
}

.product-list th {
    position: relative;
    text-align: center;
    color: #000;
    font-size: 18px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 600;
    font-style: normal;
    border-top: 2px solid #e1e1e1;
    border-bottom: 2px solid #e1e1e1;
    padding-top: 10px;
    padding-bottom: 10px;
}

.product-list td {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    max-width: 150px;
}

.product-list td:nth-of-type(6) button {
    margin-left: calc(50% - 35px);
    transform: translateX(-50%);
    border: 1px solid #dfc16d;
    border-radius: 50%;
    background: transparent;
    padding: 7px;
    color: #dfc16d;
    line-height: 17px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: 0.5s ease all;
}

.product-list td:nth-of-type(6) button:hover {
    background: #dfc16d;
    color: #fff;
}

.product-list td img {
    width: 150px;
    height: 100px;
    object-fit: cover;
}

.product-list td:nth-of-type(4) input {
    position: relative;
    display: inline-block;
    top: 3px;
    font-size: 15px;
    width: 35px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    outline: none;
    border: none;
}

.product-list td:nth-of-type(4) input::-webkit-outer-spin-button,
.product-list td:nth-of-type(4) input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.product-list td:nth-of-type(4) input[type=number] {
  -moz-appearance: textfield;
}

.product-list td span {
    position: relative;
    display: inline-block;
    top: 3px;
    width: 15px;
    height: 15px;
    border: 1px solid #000;
    line-height: 17px;
    border-radius: 50%;
    padding: 7px;
    transition: 0.5s;
    cursor: pointer;
}

.product-list td span:hover {
    background: #000;
    color: #fff;
}

.minus-quantity {
    margin-right: 10px;
}

.plus-quantity {
    margin-left: 10px;
}

.lower-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    width: 90%;
    margin-left: 50%;
    margin-top: 35px;
    transform: translateX(-50%);
}

.coupon {
    display: inline-block;
}

.coupon h2 {
    position: relative;
    color: #000;
    font-size: 24px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 600;
    font-style: normal;
}

.coupon form input {
    margin-top: 15px;
    height: 40px;
    width: 250px;
    padding-left: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    color: #000;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    outline: none;
}

.coupon button {
    padding-left: 15px;
    padding-right: 15px;
    height: 40px;
    background: #dfc16d;
    border: #dfc16d 2px solid;
    border-radius: 5px;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    cursor: pointer;
    transition: 0.5s ease all;
    color: #000;
}

.coupon button:hover {
    background: transparent;
}

.totals {
    position: relative;
    display: block;
    border: 2px solid #e1e1e1;
    padding: 35px;
    padding-top: 0;
}

.totals table {
    display: inline-block;
    margin-top: 25px;
}

.totals table th {
    position: relative;
    text-align: center;
    color: #000;
    font-size: 18px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 600;
    font-style: normal;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
}

.totals table td {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    max-width: 150px;
    text-align: left;
}

.totals table td:nth-of-type(1),
.totals table th:nth-of-type(1) {
    padding-right: 75px;
}

.totals table td:nth-of-type(2),
.totals table th:nth-of-type(2) {
    text-align: right;
}

.totals button {
    position: relative;
    display: block;
    margin-top: 15px;
    padding-left: 25px;
    padding-right: 25px;
    height: 45px;
    background: #dfc16d;
    border: 2px solid #dfc16d;
    color: #000;
    border-radius: 5px;
    font-size: 15px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
    transition: 0.5s ease all;
}

.totals button:hover {
    background: transparent;
}

.empty-cart {
    width: 90%;
    margin-left: 50%;
    transform: translateX(-50%);
}

.empty-cart img {
    margin-left: 50%;
    margin-top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
}

.cart-container {
    margin-top: 50px;
    margin-left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #dfc16d;
    border: 5px solid #000;
}

.empty-cart h3 {
    position: relative;
    width: 90%;
    margin-left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin-top: 25px;
    font-size: 26px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 600;
    font-style: normal;
}

.empty-cart a {
    text-decoration: none;
}

.empty-cart button {
    position: relative;
    display: block;
    margin-top: 15px;
    margin-left: 50%;
    transform: translateX(-50%);
    padding-left: 25px;
    padding-right: 25px;
    height: 45px;
    background: #dfc16d;
    border: 2px solid #dfc16d;
    border-radius: 5px;
    font-size: 15px;
    z-index: 2;
    font-family: trajan-pro-3, serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
    transition: 0.5s ease all;
}

.empty-cart button:hover {
    background: transparent;
}

.hide {
    display: none;
}


@media only screen and (max-width: 1000px) {
    main {
        margin-top: 90px;
    }
    
    
    .product-list .tableHeader {
        display: none;
    }
    
    .product-list {
        margin-top: 0;
    }
    
    .product {
        border-bottom: 1px solid #c1c1c1;
        margin-top: 25px;
        width: 100%;
    }
    
    .product td {
        width: auto;
        height: auto;
    }
    
    .product-list td {
        max-width: 9999px;
    }
    
    .product td:nth-child(1) {
        position: relative;
        margin-left: 0;
        height: 150px;
        width: 200px;
        margin-top: 25px;
        position: relative;
        display: inline-block;
    }
    
    .product td:nth-child(1) img {
        display: inline-block;
        max-height: 150px;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* Product Name */
    .product td:nth-child(2) {
        position: relative;
        display: inline-block;
        margin-top: -65px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 18px;
        font-weight: 600;
        text-align: left;
        margin-left: 25px;
    }
    
    /* Price Per Unit */
    .product td:nth-child(3) {
        position: absolute;
        left: 0;
        margin-top: -115px;
        margin-left: calc(100%);
        transform: translateX(-100%);
        width: 125px;
        color: #999;
        font-size: 15px;
        text-align: right;
    }
    
    /* Quantity */
    .product td:nth-child(4) {
        position: absolute;
        left: 0;
        margin-left: 225px;
        margin-top: -115px;
    }
    
    /* Subtotal */
    .product td:nth-child(5) {
        position: absolute;
        width: 150px;
        margin-top: -153px;
        margin-left: 100%;
        transform: translateX(-100%);
        text-align: right;
        font-weight: 600;
        left: 0;
        font-size: 18px;
    }
    
    /* Remove Product */
    .product td:nth-child(6) {
        position: absolute;
        left: 0;
        margin-top: -55px;
        margin-left: 225px;
        width: 150px;
        white-space: nowrap;
    }
    
    .product-list td:nth-of-type(6) button {
        position: absolute;
        left: auto;
        margin-left: auto;
        right: auto;
        margin-right: auto;
        top: 5px;
        border: 1px solid transparent;
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
        border-radius: 0%;
        background: transparent;
        width: auto;
        height: auto;
        font-family: trajan-pro-3, serif;
        font-weight: 400;
        font-style: normal;
        transition: 0s ease all;
        font-size: 15px;
    }
    
    .product-list td:nth-of-type(6) button:hover {
        background: transparent;
        border: none;
        color: #dfc16d;
        text-decoration: underline;
    }
    
}

@media only screen and (max-width: 775px) {
    /* Image */
    .product td:nth-child(1) {
        height: 100px;
        width: 135px;
        margin-top: 25px;
    }

    /* Product Name */
    .product td:nth-child(2) {
        margin-top: -50px;
        font-size: 15px;
    }
    
    /* Price Per Unit */
    .product td:nth-child(3) {
        margin-top: -90px;
    }
    
    /* Quantity */
    .product td:nth-child(4) {
        position: absolute;
        margin-left: 160px;
        margin-top: -90px;
    }
    
    /* Subtotal */
    .product td:nth-child(5) {
        position: absolute;
        width: 150px;
        margin-top: -118px;
        font-size: 15px;
    }
    
    /* Remove Product */
    .product td:nth-child(6) {
        margin-top: -35px;
        margin-left: 160px;
    }
    
    .lower-container {
        width: 80%;
        justify-content: center;
    }
    
    .coupon {
        margin-bottom: 25px;
    }
}
    
@media only screen and (max-width: 625px) {
    .hero-banner h1 {
        margin-top: 75px;
        font-size: 26px;
    }
    
    .hero-banner h2 {
        font-size: 15px;
    }
    
    .hero-banner button {
        font-size: 12px;
    }
    
    .empty-cart h3 {
        font-size: 18px;
        font-weight: 600;
    }
    
    .cart-container {
        width: 100px;
        height: 100px;
    }
    
    .empty-cart img {
        width: 75px;
    }
    
    .empty-cart button {
        font-size: 12px;
    }
}
    


@media only screen and (max-width: 550px) {
    
    .product {
        height: 400px;
    }
    
    /* Image */
    .product td:nth-child(1) {
        height: auto;
        width: 80%;
        margin-top: 25px;
        margin-left: 50%;
        transform: translateX(-50%);
        left: 0;
    }

    /* Product Name */
    .product td:nth-child(2) {
        margin-left: 50%;
        transform: translateX(-50%);
        text-align: center;
        margin-top: -10px;
        font-size: 15px;
        width: 260px;
    }
    
     /* Subtotal */
    .product td:nth-child(5) {
        position: absolute;
        left: 0;
        margin-left: 50%;
        transform: translateX(-50%);
        width: 150px;
        margin-top: 0;
        text-align: center;
        font-size: 22px;
    }
    
    /* Price Per Unit */
    .product td:nth-child(3) {
        left: 0;
        margin-left: 50%;
        transform: translateX(-50%);
        width: 150px;
        text-align: center;
        margin-top: 35px;
    }
    
    /* Quantity */
    .product td:nth-child(4) {
        position: absolute;
        margin-left: 50%;
        transform: translateX(-50%);
        margin-top: 70px;
    }
    
    /* Remove Product */
    .product td:nth-child(6) {
        margin-top: 125px;
        margin-left: 50%;
        transform: translateX(-50%);
    }
    
    .coupon form input {
        max-width: calc(80% - 50px);
    }
    
    .totals {
        min-width: 270px;
    }
}


@media only screen and (max-width: 475px) {
    .hero-banner h2 {
        width: 90%;
    }
}
    
    
    




