:root {
    --green-dark: #00563f;
    --green-light: #008060;
    --white: #ffffff;
    --black: #000000;
    --coffee-brown: #4b3621;
}


/*bread*/

.bread {
    display: flex;
    align-items: center;
}

.bread a {
    text-decoration: none;
    color: var(--green-dark);
    margin-top: 5px;
    font-weight: bold;
    font-size: 15px;
}

.bread a:last-child {
    color: #888787;
}

.bread i {
    color: #000;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 18px;
}

.main-header {
    height: 80px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(34, 139, 34, 0.2), rgba(60, 179, 113, 0.4) 30%, rgba(0, 128, 64, 0.5) 70%);
    position: relative;
    box-shadow: 0 8px 22px rgba(0, 86, 63, 0.04);
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.main-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, #ffffff41, transparent);
    animation: border-glow 3s linear infinite;
    clip-path: polygon( 0 0, 40% 0, 40% 5%, 60% 5%, 60% 0, 100% 0, 100% 100%, 60% 100%, 60% 95%, 40% 95%, 40% 100%, 0 100%);
}

@keyframes border-glow {
    0% {
        transform: translateX(-80%);
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(80%);
        opacity: 0.4;
    }
}

.header-start {
    float: start;
}

.header-end {
    float: end;
}

.main-header h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    color: #3b3b3b;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.main-header p {
    margin: 0;
    padding-top: 7px;
    font-size: 15px;
    color: rgba(0, 0, 0, 0.55);
    margin-left: 30px;
}

.main-header::after {
    content: "";
    position: absolute;
    left: 28px;
    top: 48%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(0, 128, 96, 0.95), rgba(75, 54, 33, 0.9));
    box-shadow: 0 6px 18px rgba(0, 128, 96, 0.14);
}

.sub-header {
    width: 75%;
    margin: -8px auto 0 auto;
    padding: 18px 22px;
    box-sizing: border-box;
    border-radius: 0 0 12px 12px;
    background: linear-gradient( 180deg, #dbdbdb 0%, #eaeaea 45%, #e2e2e2 100%);
    box-shadow: 0 8px 18px rgba(20, 24, 30, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    top: 7px;
    box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.03), 0 8px 18px rgba(20, 24, 30, 0.06);
}

.sub-inner {
    text-align: right;
}

.sub-text {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    display: inline-block;
    vertical-align: middle;
    color: #1b1f23;
}

.sub-icon {
    font-size: 20px;
    display: inline-block;
    text-align: center;
    line-height: 22px;
    margin-left: 12px;
    color: #2f8a4d;
    border: 1.6px solid rgba(47, 138, 77, 0.9);
    border-radius: 6px;
    padding: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04), 0 3px 8px rgba(47, 138, 77, 0.06);
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .main-header {
        height: 72px;
        padding: 16px;
        border-radius: 10px;
    }
    .main-header h3 {
        font-size: 26px;
    }
    .main-header p {
        font-size: 14px;
    }
    .sub-header {
        width: 86%;
        margin-top: -6px;
        padding: 14px 16px;
        border-radius: 0 0 10px 10px;
    }
    .sub-text {
        font-size: 15px;
    }
    .sub-icon {
        font-size: 18px;
        padding: 3px;
        margin-left: 8px;
    }
}

@media (max-width: 500px) {
    .main-header {
        height: auto;
        padding: 12px;
        border-radius: 8px;
    }
    .header-start,
    .header-end {
        float: none;
        display: block;
        text-align: center;
    }
    .main-header h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .main-header p {
        padding-top: 3px;
        font-size: 11px;
        margin-left: 10px;
    }
    .sub-header {
        width: 84%;
        padding: 12px;
        border-radius: 0 0 8px 8px;
        top: 6px;
    }
    .sub-inner {
        text-align: center;
    }
    .sub-text {
        font-size: 14px;
    }
    .sub-icon {
        margin-left: 8px;
    }
    .main-header::after {
        left: 5px;
        top: 20%;
    }
}

.card-original {
    margin-top: 40px;
}

.design-line {
    height: 40px;
    width: 100%;
    border-radius: 12px;
    background: linear-gradient( 90deg, rgba(34, 139, 34, 0.2), rgba(60, 179, 113, 0.4) 30%, rgba(0, 128, 64, 0.5) 70%);
    position: relative;
    box-shadow: 0 8px 22px rgba(0, 86, 63, 0.04);
    overflow: visible;
    padding: 8px;
}

.design-line::after {
    content: "";
    position: absolute;
    left: 1.5%;
    transform: translateX(-50%);
    top: 10px;
    width: 18px;
    height: 17px;
    border-radius: 50%;
    background: linear-gradient( 180deg, rgba(0, 128, 96, 0.95), rgba(75, 54, 33, 0.9));
    box-shadow: 0 6px 18px rgba(0, 128, 96, 0.14);
}

.design-line p {
    font-size: 14px;
}

.design-line img {
    width: 23px;
    margin-right: 5px;
    margin-left: 5px;
}

.product-card {
    border-radius: 14px;
    border: 1px solid rgba(75, 54, 33, 0.06);
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 248, 0.96));
    box-shadow: 0 12px 34px rgba(20, 10, 6, 0.04);
}

.thumb-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(166, 147, 128, 0.75), rgba(75, 54, 33, 0.05)), conic-gradient( from 90deg, rgba(200, 160, 120, 0.45) 0deg, rgba(200, 160, 120, 0.45) 160deg, transparent 160deg 360deg);
}

.thumb-item {
    position: relative;
    width: 105px;
    height: 105px;
    cursor: pointer;
    transition: 0.2s ease;
}

.thumb-img {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: auto;
    z-index: 3;
    pointer-events: none;
}

.product-title {
    font-weight: 700;
    color: #68503b;
    margin-bottom: 20px !important;
    font-size: 20px;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    padding-bottom: 8px;
    border-bottom: 1px solid #7a5c41;
}

.product-description {
    justify-content: space-around;
    display: flex;
}

.text-description {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.text-description .text-muted {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.48);
    margin-bottom: 6px;
}

.text-description .text-muted.weight {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.62);
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-description .text-muted.origin {
    font-style: italic;
    color: rgba(0, 0, 0, 0.45);
    padding-top: 4px;
}

.btn-group {
    display: inline-flex;
    align-items: center;
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
    border-radius: 14px;
    padding: 10px 5px;
    box-shadow: 0 6px 18px rgba(75, 54, 33, 0.1);
}

.btn-group .qty-minus,
.btn-group .qty-plus {
    width: 31px;
    height: 31px;
    padding: 0;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--green-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--white);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
    transition: transform .15s ease, box-shadow .15s;
    padding-top: 5px;
}

.btn-group .qty-minus:active,
.btn-group .qty-plus:active {
    transform: scale(0.94);
}

.qty-value {
    width: 46px;
    border-radius: 8px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 600;
    color: var(--coffee-brown);
}

.qty-value {
    width: 34px;
    border-radius: 8px;
    background: transparent;
    border: none;
}

.remove-item {
    color: rgba(180, 0, 0, 0.55);
    transition: 0.25s ease;
    cursor: pointer;
}

.remove-item:hover {
    color: rgba(150, 0, 0, 0.85);
    transform: scale(1.12);
}

.product-price {
    font-size: 16px;
    font-weight: 900;
    background: linear-gradient(135deg, #2d572c, #8fbc8f);
    -webkit-background-clip: text;
    color: transparent;
    text-align: right;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    animation: pulse 2.3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.summary-card {
    border-radius: 22px;
    border: 1px solid rgba(75, 54, 33, 0.06);
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 248, 0.96));
    box-shadow: 0 12px 34px rgba(20, 10, 6, 0.04);
    position: relative;
}

.summary-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 20px;
    background: linear-gradient( 90deg, rgba(34, 139, 34, 0.2), rgba(60, 179, 113, 0.4) 30%, rgba(0, 128, 64, 0.5) 70%);
    clip-path: polygon(0% 0, 100% 0, 0% 100%);
    border-radius: 28px 0 0 0;
}

.checbtn {
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    border: none;
    padding: 10px 18px;
    color: #fff;
    border-radius: 20px;
    font-size: 16px;
    margin-top: 20px;
}

.checbtn:hover {
    background: linear-gradient(135deg, var(--green-dark), var(--green-light));
}

.design-card {
    border-radius: 12px;
    border: 1px solid rgba(75, 54, 33, 0.04);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(20, 10, 6, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    transition: transform 0.32s ease;
    box-shadow: 0 28px 60px rgba(75, 54, 33, 0.1);
}

.card-description {
    background: rgba(210, 231, 221, 0.32);
    backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 0 10px rgba(62, 96, 54, 0.44);
}

#summary-list {
    padding-right: 0;
    position: relative;
}

#summary-list li {
    list-style: none;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: var(--coffee-brown);
    position: relative;
    width: 107%;
}

#summary-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient( 90deg, rgba(0, 128, 96, 0.20), rgba(75, 54, 33, 0.08));
}

#summary-list::before {
    content: "";
    position: absolute;
    top: 0;
    right: -14px;
    width: 3px;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient( 180deg, rgba(0, 128, 96, 0.55), rgba(75, 54, 33, 0.25));
    opacity: 0.7;
}

#summary-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-light), var(--coffee-brown));
    margin-left: 10px;
    opacity: 0.85;
}

.form-control {
    border: 1.6px solid var(--green-light);
    border-radius: 10px !important;
    padding: 10px 14px;
    font-size: 12px;
    transition: all 0.25s ease;
    background: #fff;
    margin-left: 10px;
}

.form-control:focus {
    border-color: rgba(34, 139, 34, 0.55);
    box-shadow: none;
    background: #fff;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    padding: 10px;
    border: 1.5px dashed #969696;
    border-radius: 14px;
}

.btn-outline-success {
    border-radius: 10px !important;
    border-color: var(--green-light) !important;
    color: var(--green-light) !important;
    font-weight: 600;
    transition: all 0.25s ease;
    padding: 0px 14px;
    font-size: 13px;
}

.btn-outline-success:hover {
    background: linear-gradient(180deg, #e9f7e9 0%, #dcf3dc 100%);
    border-color: rgba(37, 82, 37, 0.8) !important;
    color: #207520 !important;
}

@media (max-width: 576px) {
    .form-control {
        font-size: 13px;
        padding: 9px 12px;
    }
    .btn-outline-success {
        padding: 0 16px;
        font-size: 13px;
    }
}

@media (max-width: 1200px) {
    .product-title {
        font-size: 16px;
        margin-left: 10px;
    }
}

@media (max-width: 992px) {
    .thumb-item {
        margin-left: 0;
        margin-bottom: 10px;
    }
    .thumb-img {
        top: -8px;
        width: 70px;
    }
    .product-card .row>.col-auto {
        text-align: center;
    }
    .product-price {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .product-description {
        display: list-item;
        margin-right: 45px;
    }
    .text-description {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    .btn-group {
        margin-right: 0px !important;
    }
}

@media (max-width: 460px) {
    .product-description {
        margin-right: 20px;
    }
    .design-line img {
        width: 18px;
        margin-right: 0px;
        margin-left: 1px;
    }
    .design-line p {
        font-size: 11px;
    }
    .design-line::after {
        content: "";
        position: absolute;
        left: 2.5%;
        top: 14px;
        width: 13px;
        height: 12px;
    }
}

@media (max-width: 390px) {
    .product-description {
        margin-right: 7px;
    }
}

@media (min-width: 992px) {
    .addressModal {
        display: none;
        position: fixed;
        z-index: 100000000000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
    }
    .addressModal .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 60%;
    }
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    .addressModal h5 {
        font-family: "Yekan1" !important;
        font-size: 22px;
    }
    .addressModal .title {
        border-bottom: 1px solid rgb(214, 214, 214);
    }
    .addressModal .links {
        background-color: #008060;
        width: 300px;
        border-radius: 35px;
        height: 50px;
        padding: 10px;
    }
    .addressModal .links a {
        color: white;
        text-decoration: none;
        width: 50%;
        text-align: center;
        cursor: pointer;
    }
    .addressModal .links a:hover {
        color: white;
    }
    .addressModal .links .active {
        background-color: white;
        border-radius: 35px;
        color: #008060;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .addressModal .links .active:hover {
        color: #008060;
    }
    .addressModal .form-item {
        margin-top: 20px;
    }
    .addressModal .form-item label {
        font-size: 16px;
    }
    .addressModal .form-item input {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        border: 1px solid rgb(199, 199, 199);
        margin-top: 5px;
    }
    .addressModal .form-item select {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        border: 1px solid rgb(199, 199, 199);
        background-color: transparent;
    }
    .addressModal .form-item textarea {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgb(199, 199, 199);
        margin-top: 5px;
    }
    .addressModal .form-item button {
        background-color: #008060;
        border-radius: 35px;
        color: white;
        width: 120px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
    }
    /* checkbox-list */
    .addressModal .checkbox-list .item {
        display: flex;
        margin-top: 30px;
    }
    .addressModal .checkbox-list .item input {
        width: 20px;
        height: 20px;
        margin-top: 5px;
    }
    .addressModal .checkbox-list .item h6 {
        margin-right: 5px;
        font-size: 16px;
        line-height: 30px;
    }
}

@media (max-width: 992px) {
    .addressModal {
        display: none;
        position: fixed;
        z-index: 100000000000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
    }
    .addressModal .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 95%;
    }
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }
    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
    .addressModal h5 {
        font-family: "Yekan1" !important;
        font-size: 22px;
    }
    .addressModal .title {
        border-bottom: 1px solid rgb(214, 214, 214);
    }
    .addressModal .links {
        background-color: #008060;
        width: 300px;
        border-radius: 35px;
        height: 50px;
        padding: 10px;
    }
    .addressModal .links a {
        color: white;
        text-decoration: none;
        width: 50%;
        text-align: center;
    }
    .addressModal .links .active {
        background-color: white;
        border-radius: 35px;
        color: #008060;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .addressModal .form-item {
        margin-top: 20px;
    }
    .addressModal .form-item label {
        font-size: 16px;
    }
    .addressModal .form-item input {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        border: 1px solid rgb(199, 199, 199);
        margin-top: 5px;
    }
    .addressModal .form-item select {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        border: 1px solid rgb(199, 199, 199);
        background-color: transparent;
    }
    .addressModal .form-item textarea {
        width: 100%;
        border-radius: 10px;
        border: 1px solid rgb(199, 199, 199);
        margin-top: 5px;
    }
    .addressModal .form-item button {
        background-color: #008060;
        border-radius: 35px;
        color: white;
        width: 120px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
    }
    /* checkbox-list */
    .addressModal .checkbox-list .item {
        display: flex;
        margin-top: 30px;
    }
    .addressModal .checkbox-list .item input {
        width: 20px;
        height: 20px;
        margin-top: 5px;
    }
    .addressModal .checkbox-list .item h6 {
        margin-right: 5px;
        font-size: 16px;
        line-height: 30px;
    }
}