.prodet2 {
    padding: 30px 0 50px;
}

.prodet2 .container {
    position: relative;
}

.prodet2 .slider-dots {
    display: none;
}

/* ===== Product Detail Gallery ===== */
.prodet1 {
    padding: 0px 0 50px;
}

.prodet1-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* --- LEFT: Thumbnail Strip --- */
.prodet1lft {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100px;
    flex-shrink: 0;
}

.thumb-track-wrap {
    overflow: hidden;
    width: 100%;
    height: 405px;
}

.thumb-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.thumb-item {
    width: 95px;
    height: 95px;
    flex-shrink: 0;
    border: 2px solid #D9E3EB;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.35s;
    background: #F5F7F9;
    margin: 0 auto;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-item:hover {
    border-color: #1A5E9D;
}

.thumb-item.active {
    border-color: #1A5E9D;

}

/* --- Thumb Arrows (up / down) --- */
.thumb-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #D9E3EB;
    background: #fff;
    color: #5D7388;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.thumb-arrow:hover {
    border-color: #1A5E9D;
    color: #1A5E9D;
    background: #EDF3FA;
}

.thumb-arrow:disabled,
.thumb-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* --- RIGHT: Main Image --- */
.prodet1rgt {
    flex: 1;
}

.prodet1-main-img {
    border: 1.5px solid #D9E3EB;
    border-radius: 0;
    overflow: hidden;
    background: #F5F7F9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prodet1-main-img img {
    width: 100%;
    height: 480px;
    object-fit: contain;
    display: block;
    transition: opacity 0.25s ease;
}


.prodet1 .container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.prodet1-wrap,
.prodet1-txt {
    width: 48.8%;
}

.prodet1-txt .mnheading {
    line-height: 1.2;
}

.skusec {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.skusec h6 {
    font-size: 19px;
    color: #00D2D6;
    font-weight: 700;
    border-bottom: 1px solid #00D2D6;
    padding-bottom: 0px;
    margin: 0;
}

.skusec p {
    margin: 0;
}

.prodet1-txt h5 {
    font-size: 19px;
    color: #5D7388;
}

.prodet1-txt ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 5px;
}

.prodet1-txt ul li::before {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5D7388;
}

.apfsec {
    padding: 15px 30px;
    background: #F5F7F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
    margin: 20px 0;
}

.apfsec figcaption {
    font-size: 19px;
    color: #5D7388;
}

.prodet1-txt .prodiscount {
    position: relative;
    width: 63px;
}

.prodet1-txt .prce {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1A5E9D;
    font-weight: 700;
    font-size: 34px;
}

.prodet1-txt .prce h6 {
    text-decoration: line-through;
    color: #5D7388;
    font-weight: normal;
}

/* ===== Upload Prescription Section ===== */
.uppresec {
    margin: 18px 0 20px;
}

.uppresec-label {
    font-size: 19px;
    font-weight: 700;
    color: #1A5E9D;
    margin: 0 0 10px;
    line-height: 1.35;
}

.uppresec-label span {
    font-weight: 700;
}

.uppresec-form {
    margin: 0;
}

.uppresec-filebox {
    display: flex;
    align-items: stretch;
    border: 1px solid #D9E3EB;
    border-radius: 0;
    overflow: hidden;
    background: #F5F7F9;
    cursor: pointer;
    transition: all 0.35s ease-in-out;
    position: relative;
}

.uppresec-filebox:hover {
    border-color: #1A5E9D;
}

.uppresec-filename {
    flex: 1;
    padding: 16px 156px 16px 16px;
    font-size: 15px;
    color: #8A9BB0;
    background: #F5F7F9;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.uppresec-btn {
    display: flex;
    align-items: center;
    padding: 12px 22px;
    background: #1A5E9D;
    color: #fff;
    font-size: 19px;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
}

.uppresec-container {
    background-color: #fafafa;
}

.uppresec-uploaded-box {
    cursor: default;
    background: #F5F7F9;
}

.uppresec-uploaded-name {
    padding: 7px 156px 8px 8px;
    color: #1e293b;
}

.uppresec-remove-btn {
    background: #dc3545;
    font-size: 15px;
    padding: 6px 16px;
    border: none;
    cursor: pointer;
}

.uppresec-remove-btn:hover {
    background: #b02a37;
}

.uppresec-error {
    color: #dc3545 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.uppresec-error i {
    color: #dc3545 !important;
    font-size: 16px;
    margin-right: 5px;
    flex-shrink: 0;
}

.skusec h6 a {
    color: #00D2D6;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.skusec h6 a:hover {
    color: #1A5E9D;
    text-decoration: underline;
}

.cabsec {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.cabsec-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.atcbtn {
    height: 52px;
    padding: 0 26px;
    background: #1A5E9D;
    color: #fff;
    font-size: 19px;
    white-space: nowrap;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    border-radius: 0;
    box-sizing: border-box;
}

.atcbtn:hover:not(:disabled) {
    background: #134675;
    color: #fff;
}

.atcbtn:disabled,
.atcbtn.disabled-btn {
    opacity: 0.6;
    cursor: not-allowed;
}

.atcbtn > span,
.btnbtn > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    line-height: 1;
}

.atcbtn img,
.atcbtn svg {
    filter: brightness(10.5);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-block;
}

.btnbtn {
    height: 52px;
    padding: 0 26px;
    background: #00D2D6;
    color: #fff;
    font-size: 19px;
    white-space: nowrap;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    border-radius: 0;
    box-sizing: border-box;
}

.btnbtn:hover:not(:disabled) {
    background: #00b3b7;
    color: #fff;
}

.btnbtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btnbtn .buy-now-arrow {
    width: 22px;
    height: 22px;
    stroke-width: 3;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.btnbtn:hover:not(:disabled) .buy-now-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .btnbtn .buy-now-arrow,
body.rtl .btnbtn .buy-now-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .btnbtn:hover:not(:disabled) .buy-now-arrow,
body.rtl .btnbtn:hover:not(:disabled) .buy-now-arrow {
    transform: scaleX(-1) translateX(4px);
}

.qtysec {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qtysec button {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2.5px solid #1A5E9D;
    color: #1A5E9D;
    font-size: 32px;
    font-weight: 700;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 0 4px 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.qtysec button:hover:not(:disabled) {
    background: #EDF3FA;
}

.qtysec button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.quantity {
    border: none !important;
    background: transparent !important;
    color: #5D7388 !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    width: 38px !important;
    text-align: center !important;
    height: 48px !important;
    line-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    -moz-appearance: textfield;
}

.quantity::-webkit-outer-spin-button,
.quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sepa-sec {
    width: 100%;
    margin-top: 20px;
}

.sepa-sec h6 {
    font-size: 19px;
    color: #5D7388;
    margin: 0 0 10px;
}

/* ===== Stock & Arabic Toggle Row ===== */
.stkarb {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #F5F7F9;
    border-radius: 6px;
    padding: 12px 18px;
    margin: 16px 0;
}

/* Green dot + "In stock" */
.stk-instock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    color: #5D7388;
}

.stk-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3CE58A;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(56, 192, 94, 0.2);
}

/* Red dot + "Out of stock" */
.stk-outofstock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    color: #dc3545;
}

.stk-dot-out {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dc3545;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

/* Vertical divider */
.stk-divider {
    width: 1px;
    height: 28px;
    background: #C8D5E3;
    flex-shrink: 0;
}

/* Arabic label + toggle group */
.stk-arb {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stk-arb-lbl {
    font-size: 17px;
    font-weight: 700;
    color: #5D7388;
}

/* Toggle switch */
.stk-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.stk-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.stk-toggle-track {
    display: block;
    width: 46px;
    height: 26px;
    background: #D9E3EB;
    border-radius: 999px;
    position: relative;
    transition: background 0.25s ease;
    border: 1px solid #B6CCDD;
}

/* The sliding thumb */
.stk-toggle-track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #AEC6D9;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease;
}

/* Checked state */
.stk-toggle input:checked+.stk-toggle-track {
    background: #1A5E9D;
}

.stk-toggle input:checked+.stk-toggle-track::after {
    transform: translateX(20px);
}

/* ===== Accordion (prodet3) ===== */
.prodet3 {
    padding: 10px 0 40px;
}

.accordion {
    border-top: 1px solid #D9E3EB;
}

.acc-item {
    border-top: 3px solid #1A5E9D;
    margin-bottom: 15px;
}

.acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 19px;
    font-weight: 700;
    color: #1A5E9D;
    text-align: left;
    gap: 12px;
    transition: color 0.2s;
    background: #F5F7F9;
}

.acc-header:hover {
    color: #00D2D6;
}

.acc-icon {
    flex-shrink: 0;
    color: #1A5E9D;
    transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.acc-item.active .acc-icon {
    transform: rotate(180deg);
}

/* Body: hidden by default, expands cleanly when active */
.acc-body {
    display: none;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: #F5F7F9;
}

.acc-body.d-block,
.acc-item.active .acc-body {
    display: block;
    max-height: none;
    overflow: visible;
    padding: 10px 18px 24px;
}

.acc-body p,
.acc-body ul {
    margin: 0 0 18px;
    color: #5D7388;
    font-size: 16px;
    line-height: 1.7;
}

.acc-body table {
    width: 100%;
    margin-bottom: 0;
}

.acc-body figure {
    text-align: center;
}

.acc-body h6 {
    font-size: 18px;
    color: #5D7388;
    font-weight: 700;
}

.acc-body ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.acc-body ul li::before {
    position: absolute;
    content: '';
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5D7388;
}

.crtsec-wrap {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: #F5F7F9;
    justify-content: center;
}

.crtsec-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 65%;
}

.crtsec-item .proitem {
    width: 32.33333%;
    background: #fff;
}

.crtsec-item .prcrt {
    height: auto;
    padding-right: 0;
}

.crtsec-cart {
    border: 1px solid #D9E3EB;
    padding: 16px;
    background: #fff;
    width: 34%;
}

.crtsec-cart ul li {
    padding: 5px 0;
    border-bottom: 1px solid #D9E3EB;
}

.crtsec-cart .cat-chk-item {
    font-size: 19px;
    font-weight: 700;
    color: #5D7388;
    position: relative;
    padding-left: 30px;
    display: block;
}

.crtsec-cart .cat-chk-item input {
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
}

/* Hidden product card – smooth fade + collapse */
.crtsec-item .proitem {
    transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease, margin 0.3s ease;
}

.crtsec-item .proitem.crtsec-hidden {
    opacity: 0;
    transform: scale(0.92);
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.crtsec-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 0;
}

.crtsec-cart-footer p {
    font-size: 17px;
    margin: 0;
}

.crtsec-cart-footer h4 {
    font-size: 29px;
    font-weight: 700;
    color: #1A5E9D;
    margin: 0;
}

.crtsec-cart-footerrgt button {
    padding: 15px 20px;
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    background: #00D2D6;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background 0.2s ease-in-out;

}

@media (min-width: 993px) and (max-width: 1200px) {

    .prodet1 .container {
        gap: 23px;
    }
}

@media (max-width: 1024px) {
    .crtsec-wrap {
        flex-wrap: wrap;
    }

    .crtsec-item,
    .crtsec-cart {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 992px) {

    .prodet1-wrap,
    .prodet1-txt,
    .crtsec-item,
    .crtsec-cart {
        width: 100%;
    }

    .crtsec-wrap {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {

    .prodet1-wrap,
    .prodet1-txt {
        width: 100%;
    }

    .thumb-item {
        width: 65px;
        height: 65px;
        border-width: 1px;
    }

    .prodet1lft {
        width: 70px;
    }

    .prodet1-main-img img {
        height: 350px;
    }

    .prodet1-wrap {
        gap: 5px;
    }

    .thumb-track-wrap {
        height: 285px;
    }

    .thumb-arrow {
        width: 30px;
        height: 30px;
    }

    .crtsec-wrap {
        flex-wrap: wrap;
    }

    .crtsec-item .proitem {
        width: 48.4%;
    }

    .crtsec-item,
    .crtsec-cart {
        width: 100%;
    }

    .proitem-img img {
        height: 130px;
    }

    .crtsec-cart .cat-chk-,
    .atcbtn,
    .btnbtn {
        font-size: 16px;
    }

    .atcbtn,
    .btnbtn {
        padding: 10px 20px;
    }

    .crtsec-cart-footer h4 {
        font-size: 23px;
    }

    .crtsec-cart-footer p {
        font-size: 14px;
    }

    .crtsec-cart-footerrgt button {
        padding: 15px 10px;
        font-size: 14px;
        gap: 5px;
    }

    .crtsec-cart-footerrgt button img {
        width: 30px;
    }

    .prodet2,
    .prodet1 {
        padding: 10px 0;
    }

    .skusec h6 {
        font-size: 17px;
    }

    .qtysec button {
        width: 40px;
        height: 40px;
        line-height: 34px;
    }
}

/* ===== Clean Component Utilities ===== */
.cursor-pointer {
    cursor: pointer;
}

.thumb-track-scroll {
    overflow-y: auto;
    scrollbar-width: none;
    max-height: 400px;
}

.thumb-track-scroll::-webkit-scrollbar {
    display: none;
}

.prodet-cross-sells-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
}

/* ===== Clean & Minimalist Product Specifications ===== */
.specs-zebra-table {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.specs-zebra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
    background: transparent;
}

.specs-zebra-row:last-child {
    border-bottom: none;
}

.specs-zebra-label {
    font-size: 15px;
    font-weight: 500;
    color: #64748B;
    width: 35%;
    flex-shrink: 0;
}

.specs-zebra-value {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    width: 65%;
    text-align: right;
    word-break: break-word;
}

@media (max-width: 768px) {
    .specs-zebra-row {
        padding: 10px 0;
    }

    .specs-zebra-label {
        font-size: 14px;
        width: 40%;
    }

    .specs-zebra-value {
        font-size: 14px;
        width: 60%;
    }
}