/* Supplies sections layout (fixed card, responsive) */

html.drone-page,
body.drone-page {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
}

body.drone-page {
    align-items: stretch;
    justify-content: flex-start;
}

.drone-page main {
    background: linear-gradient(135deg, #faf8f8 0%, #efeded 100%);
    flex: 1;
    padding: 32px 0 56px;
}

.drone-reeds.drone-modern {
    --accent: #591919;
    --bg-card: #fdfdfd;
    --border: #d9d5d5;
    --text: #4a4a4a;
    --muted: #6a6a6a;
    --shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    padding: 0 0 32px;
    margin: 0 auto;
    max-width: none;
    height: 1150px;
    min-height: 1150px;
    /*margin-bottom: 25px;*/

}

.drone-reeds.drone-modern,
.drone-reeds.drone-modern * {
    overflow: visible !important;
}

.drone-card {
    width: 1160px;
    height: 620px;
    display: grid;
    grid-template-columns: 520px 560px;
    gap: 24px;
    padding: 28px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    align-items: start;
    justify-content: center;
    margin-bottom: 25px;
}

.drone-col-left {
    width: 520px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.drone2-gallery {
    width: 520px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drone2-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden !important;
    box-shadow: 5px 5px 15px rgba(88, 88, 88, 0.7);
    background: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: zoom-in;
}

.drone2-frame::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.drone2-frame:hover::after {
    opacity: 1;
}

.drone2-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}

.drone2-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    z-index: 12;
    padding: 8px;
    border-radius: 999px;
    opacity: 0.7;
    transition: transform 0.3s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.drone2-arrow.left {
    left: 12px;
}

.drone2-arrow.right {
    right: 12px;
}

.drone2-arrow:hover {
    transform: scale(1.2) translateY(-50%);
    background-color: rgba(89, 25, 25, 0.8);
    opacity: 1;
}

.drone-purchase {
    width: 520px;
    height: 248px;
    padding: 12px 18px;
    background: #f8f4f1;
    border: 1px solid #d5c9c5;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.drone-purchase .stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.drone-purchase .stock input {
    width: 42px;
    text-align: center;
    background: #f1edeb;
    border: 1px solid #cbbeba;
    border-radius: 6px;
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
}

.drone-purchase .prices {
    margin: 0;
    color: var(--text);
    line-height: 22px;
    text-align: left;
    width: 100%;
    font-size: 14px;
}

.drone-purchase .prices p {
    margin: 0;
    white-space: normal;
}

.drone-purchase .price-highlight {
    color: #196f3d;
    font-weight: 700;
    font-size: 16px;
}

.usa-price-highlight {
    color: #196f3d;
    font-weight: 900;
    font-size: 16px;
}

.drone-purchase .purchase-button {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 6px;
}

.drone-purchase .purchase-button .button {
    margin: 0 auto;
    padding: 10px 22px;
    font-size: 16px;
    min-width: 120px;
}

.drone-content {
    width: 560px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text);
    padding-left: 10px;
}

.drone-kicker {
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--accent);
}

.drone-title {
    margin: 0;
    font-size: 24px;
    color: var(--accent);
    letter-spacing: 0.5px;
    line-height: 30px;
}

.drone-body {
    display: block;
    font-size: 14px;
    line-height: 22px;
    padding-right: 8px;
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
}

.drone-body p {
    margin: 0;
}

.drone-list {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.drone-links {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.drone-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.drone-links a:hover {
    text-decoration: underline;
}

.drone-subtitle {
    margin: 2px 0 0;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.drone-content a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.drone-content a:hover {
    text-decoration: underline;
}

@media (min-width: 1200px) {
    .drone-card {
        width: 1160px;
        height: 680px;
        grid-template-columns: 520px 560px;
        gap: 24px;
        padding: 28px;
    }

    .drone-col-left {
        width: 520px;
    }

    .drone2-gallery {
        width: 520px;
        height: 300px;
    }

    .drone-purchase {
        width: 520px;
        height: 248px;
        padding: 12px 18px;
    }

    .drone-content {
        width: 560px;
    }

    .drone-title {
        font-size: 24px;
        line-height: 30px;
    }

    .drone-body {
        font-size: 14px;
        line-height: 22px;
    }

    .drone-purchase .prices {
        font-size: 14px;
        line-height: 22px;
    }

    .drone2-arrow {
        font-size: 42px;
    }

    body.drone-reeds-page .drone-card {
        height: 680px;
    }
}

@media (min-width: 1200px) and (max-height: 768px) {
    .drone-card {
        margin-top: 175px;
    }
}

@media (min-width: 1200px) and (max-height: 668px) {
    .drone-card {
        margin-top: 0px;
    }

    .header-text h1 {
        font-size: 24px;
    }

    .header-text .subtitle {
        font-size: 12px;
    }

    .home-icon-wrapper-supplies {
        top: 75px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .drone-card {
        width: 1020px;
        height: 680px;
        grid-template-columns: 460px 500px;
        gap: 22px;
        padding: 24px;
    }

    .drone-col-left {
        width: 460px;
    }

    .drone2-gallery {
        width: 460px;
        height: 280px;
    }

    .drone-purchase {
        width: 460px;
        height: 228px;
        padding: 12px 16px;
    }

    .drone-content {
        width: 500px;
    }

    .drone-title {
        font-size: 22px;
        line-height: 28px;
    }

    .drone-body {
        font-size: 14px;
        line-height: 21px;
    }

    .drone-purchase .prices {
        font-size: 14px;
        line-height: 21px;
    }

    .drone2-arrow {
        font-size: 38px;
    }

    body.drone-reeds-page .drone-card {
        height: 680px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) and (max-height: 768px) {
    .drone-card {
        margin-top: 175px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) and (max-height: 668px) {
    .drone-card {
        margin-top: 0px;
    }

    .home-icon-wrapper-supplies {
        top: 75px;
    }
}

@media (min-width: 800px) and (max-width: 1023px) {
    .drone-card {
        width: 760px;
        height: 640px;
        grid-template-columns: 340px 360px;
        gap: 18px;
        padding: 20px;
    }

    .drone-col-left {
        width: 340px;
        gap: 14px;
    }

    .drone2-gallery {
        width: 340px;
        height: 250px;
    }

    .drone-purchase {
        width: 340px;
        height: 230px;
        padding: 10px 14px;
    }

    .drone-content {
        width: 360px;
        gap: 10px;
    }

    .drone-title {
        font-size: 20px;
        line-height: 26px;
    }

    .drone-body {
        font-size: 13px;
        line-height: 20px;
    }

    .drone-purchase .prices {
        font-size: 13px;
        line-height: 20px;
    }

    .drone2-arrow {
        font-size: 34px;
    }
}

@media (min-width: 800px) and (max-width: 1023px) and (max-height: 779px) {
    .drone-card {
        margin-top: 175px;
    }
}

@media (min-width: 800px) and (max-width: 1023px) and (max-height: 668px) {
    .drone-card {
        margin-top: 0px;
    }

    .header-text h1 {
        font-size: 1.55rem;
    }

    .header-text .subtitle {
        font-size: 0.75rem;
    }

    .social-icons {
        bottom: 10px;
        right: 30px;
    }

    .home-icon-wrapper-supplies {
        top: 75px;
    }
}

@media (min-width: 600px) and (max-width: 799px) {

    .drone-reeds.drone-modern{
         min-height: 1150px;
    }

    .drone-card {
        width: 560px;
        height: 1100px;
        display: flex;
        flex-direction: column;
        gap: 0px;
        justify-content: flex-start;
        padding: 20px;
        margin-bottom: 30px;
    }

    .drone-col-left {
        width: 520px;
        gap: 6px;
        align-items: center;
    }

    .drone2-gallery {
        width: 520px;
        height: 250px;
    }

    .drone-purchase {
        width: 520px;
        height: 220px;
        padding: 10px 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .drone-content {
        width: 520px;
        flex: 1;
        min-height: 0;
        margin-top: -520px;
    }

    .drone-title {
        font-size: 21px;
        line-height: 27px;
    }

    .drone-body {
        font-size: 13px;
        line-height: 20px;
    }

    .drone-purchase .prices {
        font-size: 13px;
        line-height: 20px;
    }

    .drone2-arrow {
        font-size: 32px;
    }
}

@media (min-width: 600px) and (max-width: 799px) and (max-height: 768px){
    
    .drone-reeds.drone-modern{
         height: 1150px;
         min-height: 1150px; 
         padding-bottom: 25px;
    }

    .drone-card {
        margin-top: 175px;
        height: 1100px;
    }
    
}

@media (min-width: 600px) and (max-width: 799px) and (max-height: 668px) {
    .home-icon-wrapper-supplies {
        top: 75px;
    }
}

@media (min-width: 480px) and (max-width: 599px) {

    .drone-reeds.drone-modern{
        min-height: 1260px;
    }

    .drone-card {
        width: 480px;
        height: 1100px;
        min-height: 1100px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 18px;
        margin-top: 260px;
    }

    .drone-col-left {
        width: 444px;
        gap: 12px;
        align-items: center;
    }

    .drone2-gallery {
        width: 444px;
        height: 230px;
    }

    .drone-purchase {
        width: 444px;
        height: 260px;
        min-height: 260px;
        max-height: 260px;
        padding: 10px 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .drone-content {
        width: 444px;
        flex: 1;
        min-height: 0;
        margin-top: -520px;
    }

    .drone-title {
        font-size: 19px;
        line-height: 25px;
    }

    .drone-body {
        font-size: 12px;
        line-height: 19px;
    }

    .drone-purchase .prices {
        font-size: 12px;
        line-height: 19px;
    }

    .drone2-arrow {
        font-size: 30px;
    }
}

@media (min-width: 360px) and (max-width: 479px) {
    .drone-reeds.drone-modern{
        min-height: 1260px;
    }

    .drone-card {
        width: 340px;
        height: 1100px;
        min-height: 1100px;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        margin-top: 260px;
    }

    .drone-col-left {
        width: 308px;
        gap: 10px;
        align-items: center;
    }

    .drone2-gallery {
        width: 308px;
        height: 200px;
    }

    .drone-purchase {
        width: 308px;
        height: 260px;
        min-height: 260px;
        max-height: 260px;
        padding: 10px 14px;
        margin-left: auto;
        margin-right: auto;
    }

    .drone-content {
        width: 308px;
        flex: 1;
        min-height: 0;
        margin-top: -560px;
    }

    .drone-title {
        font-size: 18px;
        line-height: 24px;
    }

    .drone-body {
        font-size: 12px;
        line-height: 18px;
    }

    .drone-purchase .prices {
        font-size: 11px;
        line-height: 18px;
        text-align: left;
        margin-left: 6px;
    }

    .drone2-arrow {
        font-size: 28px;
    }
}

@media (max-width: 359px) {
    .drone-card {
        width: 300px;
        height: 980px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .drone-col-left {
        width: 272px;
        gap: 10px;
        align-items: center;
    }

    .drone2-gallery {
        width: 272px;
        height: 190px;
    }

    .drone-purchase {
        width: 272px;
        height: 190px;
        padding: 8px 10px;
    }

    .drone-content {
        width: 272px;
        flex: 1;
        min-height: 0;
    }

    .drone-title {
        font-size: 17px;
        line-height: 23px;
    }

    .drone-body {
        font-size: 11px;
        line-height: 17px;
    }

    .drone-purchase .prices {
        font-size: 11px;
        line-height: 17px;
    }

    .drone2-arrow {
        font-size: 26px;
    }
}
