@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Helvetica, sans-serif, sans-serif;
    touch-action: manipulation;
}

input, textarea, select {
  font-size: 16px;
}

body{
    background-color: #ffffff;
}

h2{
    color: #000000;
}

p{
    margin-bottom: 0;;
}

hr{
    margin: 12px 0;
}

strong{
    font-size: 12px;
    font-weight: 500;
    color:#555555;
}

.material-symbols-sharp{
    color: #ab5300;
}

.menu-btn {
    background: none;
    border: none;
    color: f9f9f9;
    font-size: 28px;
    cursor: pointer;
    display: none;
}

.material-icons {
    vertical-align: middle;
    font-size: 18px;
}

.container-div{
    width: 720px;
    margin: 32px auto;
    padding: 32px;
    background-color: #ffffff;
    box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.2);

    border-radius: 8px;

    border-top:2px solid #edb76f;
}
.container-div h1{
        font-size: 28px;
        margin-bottom: 32px;
        font-family: "PlayFair Display", Helvetica, sans-serif;

    }
.wrapper {
    box-shadow: 0px 1px 4px #8a8a8ab4;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 12px;
}

.material-icons {
    font-size: 24px;
    color: #000000;
}

.material-icons:hover{
    color: #ff3600;

}

header {
    display: flex;
    justify-content: space-around;

    backdrop-filter: blur(15px);
    text-align: center;
}

header h1,a {
    margin: 0;
    text-decoration: none;
    color: black;
}

.logo h1{
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.btn {
    width: 60%;
    background-color: black;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    display: flex;
    /* align-items: center; */
    font-size: .85rem;
    justify-self: center;
    justify-content: center;
}

.place-order-btn{
    border: 1px solid black;
    margin-top: 0.4rem;
    align-self: center;
}
.btn:hover {
    background-color: #1e1e1e;
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-1px);
}
.pagination{
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn{
    border: none;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;

}
#search-box{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    padding: 4px 8px;
    border: 1px solid #b8b8b8;

}

#product-search {
    width: 60%;
    position: relative;
    top: 10px;
    padding: 0 32px;
    display: flex;
    justify-self: center;
    margin-bottom: 32px;
    z-index: 1;
}
.filter-text{
    font-size: 14px;
    margin: 12px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3.2rem;
}

.product-item {
    background-color: #fff;
    padding-bottom: 0.6rem;
    width: 20%;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-item .btn{
    width: 70%;
    border-radius: 0;
    margin-left: 0;
    padding-left: 0;
    background-color: #ffffff;
    color: #000000;

}
.product-item img {
    width: 95%;
    height: 300px;
    padding: 0px;
    border-radius: 4px;
}

.product-item h3 {
    margin: 0.5rem 0.5rem;
    font-size: 16px;
    text-align: start;
}

.material-symbols-outlined {

    color: #452100;

}

/* .material-symbols-outlined:hover {
    color: #ff3700;
} */

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0rem;

    border-radius: 4px;
    display: none;
}

div.horizontal-shake {

  animation: horizontal-shaking 0.5s ease-in-out 1.5;
}
@keyframes horizontal-shaking {
  0% { transform: translateX(0) }
  25% { transform: translateX(5px) }
  50% { transform: translateX(-5px) }
  75% { transform: translateX(5px) }
  100% { transform: translateX(0) }
}

@media (max-width: 992px) {
    #zoom-lens {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }
}

@media (max-width: 992px) {
    .mobile-zoom-hint {
        display: block;
    }
}

.btn-link {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    text-decoration: none;
    font-weight: bold;
}

.btn-link:hover {
    text-decoration: underline;
}

.product-brand{
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    margin-left: 0.5rem;
    color: #000000;
    text-align: start;
}

.product-name{
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    margin-left: 0.5rem;
    color: #000000;
    text-align: start;
}
.product-price{
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    margin-left: 0.5rem;
    color: #666;
    text-align: start;
}
.product-list-desc{
    padding: 8px 4px 4px 4px;
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    color: #666;
    text-align: center;
    padding: 6px 0;
    font-size: 14px;
    margin-top: 46px;
}
footer p{
    margin: 0;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
.inner-wrapper-checkout {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    padding: 24px 0px;
}
#checkout-button{
    margin-top: 32px;
}
.checkout-cart-summary{
    padding: 0;
    margin: 0;
}
.checkout-cart-summary-header a{
    text-decoration: none;
    color: #ed143d;
    font-size: 16px;
}
.checkout-cart-summary-header h3,
.checkout-shipping-info-header h3{
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #2f2f2f;
}

.checkout-shipping-info-header a{
    text-decoration: none;
    color: #ed143d;
    font-size: 16px;
}
.cart-summary-item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 13px;
}
.cart-summary-item span{
    font-size: 11px;
    color: #666;
}
.checkout-cart-summary-total{
    text-align: right;
    margin: 8px 0px;
}
.checkout-cart-summary-total strong{
    font-size: 16px;
    font-weight: 600;
    color: #888;
}

.payment-methods{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin: 12px auto;
    padding: 8px 16px;
}
.payment-methods-list{
    display: flex;
    gap: 8px;
    list-style: none;
}
.payment-methods-list img {
    width: 32px;
    height: 24px;
}

.wavy {
    --s: 0.5em;
    --p: 0.8;
    --R: calc(var(--s)*sqrt(var(--p)*var(--p) + 1)) at 50%;
    mask:
        radial-gradient(var(--R) calc(100% - var(--s)*(1 + var(--p))), #000 99%, #0000 101%)
        calc(50% - 2*var(--s)) 0/calc(4*var(--s)),
        radial-gradient(var(--R) calc(100% + var(--s)*var(--p)), #0000 99%, #000 101%)
        50% calc(-1*var(--s))/calc(4*var(--s)) repeat-x;
        background-color: #ffebeb;
        padding: 16px;
}

.verify-success-wrapper {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.check-container {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.checkmark {
    width: 120px;
    height: 120px;
}

.checkmark-circle {
    stroke: #28a745;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s ease-out forwards;
}

.checkmark-check {
    stroke: #28a745;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.4s 0.6s ease forwards;
}

@keyframes stroke {
    to {
        stroke-dashoffset: 0;
    }
}

.btn-home {
    margin-top: 20px;
    padding: 10px 22px;
    background: #28a745;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-home:hover {
    background: #218838;
}
.check-container {
    animation: pop 0.6s ease;
}

@keyframes pop {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.verify-fail-wrapper {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.cross-container {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: pop 0.4s ease;
}

.crossmark {
    width: 120px;
    height: 120px;
}

.crossmark-circle {
    stroke: #dc3545;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.8s ease-out forwards;
}

.crossmark-line1,
.crossmark-line2 {
    stroke: #dc3545;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 32;
    stroke-dashoffset: 32;
}

.crossmark-line1 {
    animation: stroke 0.3s 0.6s forwards;
}

.crossmark-line2 {
    animation: stroke 0.3s 0.9s forwards;
}

@keyframes stroke {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pop {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.btn-group {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn-retry {
    background: #dc3545;
    display: flex;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    align-items: center;
    justify-content: center;
}

.btn-home {
    background: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-retry:hover {
    background: #c82333;
}

.btn-home:hover {
    background: #5a6268;
}
.cross-container {
    animation: pop 0.4s ease, shake 0.4s 1.1s ease;
}

@keyframes shake {
    0%,100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

@media(max-width:992px){

    #zoom-result {
        display: none;
        left: 440px;
        top: 80px;
    }
}

@media (max-width: 768px) {
    .cart-summary-item{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        font-size: 12px;
    }

    #profile-container {
        width: 100%;
    }
    .checkout-cart-summary-header a{
        text-decoration: none;
        color: #ed143d;
        font-size: 12px;
    }
    .checkout-cart-summary-header h3,
    .checkout-shipping-info-header h3{
        font-size: 14px;
        font-weight: 600;
        margin: 0;
    }
    .checkout-shipping-info-header a{
        text-decoration: none;
        color: #ed143d;
        font-size: 12px;
    }
    .product-item {
        width: 33%;
    }

    .btn {

        width: 100%;
        font-size: 14px;
    }

    form{
        width: 100%;
    }
    .search-btn{
        padding: 0 12px;
    }

    #product-search {
        width: 100%;
        margin-bottom: 24px;

    }
    p{
        font-size: 13px;
    }

    .container-div h1{
        font-size: 20px;
        font-family: 'Playfair Display','Poppins',Helvetica, sans-serif;
    }
    .container-div{
        width: 85%;

        padding: 24px;
        background-color: #ffffff;
        box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.2);

        border-radius: 8px;

    }
    .container-div input,
    .container-div textarea{
        width: 100%;
    }
    .dropdown-content {

        position: static;
        padding: 16px 0px;
        right: 20px;
        width: 100%;
    }
    .product-list {
        margin-top: 2.6rem;
    }

    .signup--form a,
    .login--form a{
        font-size: 14px;
        color: #000000;
        display: flex;
        justify-self: center;
        margin-top: 14px;
    }
    .password-reset-form-container{
        margin: 32px auto;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px;

    }
    .container-div{
        width: 95%;
        margin: 12px auto;
        padding: 12px;
        background-color: #ffffff;
        box-shadow: 0px -1px 10px rgba(0, 0, 0, 0.2);

        border-radius: 8px;

    }
    #profile-container{
        margin-top: 12px;
    }
    #product-search {
    width: 60%;
    position: relative;
    top: 10px;
    padding: 0 6px;
    display: flex;
    justify-self: center;
    margin-bottom: 32px;
    z-index: 1;
    }

    .product--details-wrapper{
        width: 100%;
    }
    .product-item {
        width: 50%;
    }
    .product-item img {
        width: 98%;
        height: 224px;
        padding: 0px;
        border-radius: 4px;
    }
    .profile-icon {
        display: flex;
        margin-right: -5px;
    }
    .signup--form a,
    .login--form a{
        font-size: 14px;
        color: #000000;
        display: flex;
        justify-self: center;
        margin-top: 14px;
    }
    .password-reset-form-container{
        margin: 120px auto;
    }
    .product-detail img{
        width: 100%;
        display: flex;
        align-self: center;
        height: auto;
        margin-top: 0px;
    }
    .product-detail {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .checkout-cart-summary {
        padding: 8px;
    }
    .size-option {
        font-size: 12px;
    }
    .product-name{
        font-size: 12px;
    }
    .product-brand{
        font-size: 12px;
    }
    .product-price{
        font-size: 12px;
    }
}
