/* =====================================
   SINGLE PRODUCT PAGE STYLING
====================================== */

/* Summary Card */
.single-product div.product .summary {
    background: #f3f3f3;
    padding: 35px;
    border-radius: 12px;
    position: relative;
}

/* Product Title */
.single-product .product_title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

/* Price */
.single-product .price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.single-product .price del {
    font-size: 18px;
    color: #999;
    margin-right: 8px;
}

.single-product .price ins {
    text-decoration: none;
}

/* Stock */
.single-product .stock {
    color: #2e7d32;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Quantity + Cart Row */
.single-product form.cart {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

/* Quantity Input */
.single-product .quantity input {
    width: 70px;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
}

/* Add To Cart Button */
button.single_add_to_cart_button {
    background: #ea5920 !important;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 0 #c34d1f !important;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Hover */
button.single_add_to_cart_button:hover {
    background: #d94f1b;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #c34d1f;
}

/* Icon inside button */
.single_add_to_cart_button i {
    font-size: 18px;
    line-height: 1;
}

/* Short Description */
.single-product .woocommerce-product-details__short-description {
    margin-top: 20px;
    line-height: 1.6;
    color: #555;
}

/* Metadata Section */
.single-product .product_meta {
    border-top: 1px solid #e3e3e3;
    margin-top: 25px;
    padding-top: 20px;
    font-size: 14px;
    line-height: 1.8;
}

/* Each meta on new line */
.single-product .product_meta > span {
    display: block;
    margin-bottom: 6px;
}

/* Meta label bold */
.single-product .product_meta span span {
    font-weight: 600;
    color: #333;
}

/* Meta links */
.single-product .product_meta a {
    color: #00BCD4;
    font-weight: 500;
}

/* ------------------------------------------------------------- */
/* ===================================
   GALLERY NAVIGATION ARROWS
=================================== */

.single-product .flex-direction-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-product .flex-direction-nav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: -9999px; /* Hide text */
    transition: 0.3s ease;
    z-index: 10;
}

/* Left Arrow */
.single-product .flex-direction-nav .flex-prev {
    left: 15px;
}

/* Right Arrow */
.single-product .flex-direction-nav .flex-next {
    right: 15px;
}

/* Add arrow icons using pseudo elements */
.single-product .flex-direction-nav .flex-prev::before,
.single-product .flex-direction-nav .flex-next::before {
    content: '';
    text-indent: 0;
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

/* Rotate arrows */
.single-product .flex-direction-nav .flex-prev::before {
    transform: rotate(-135deg);
}

.single-product .flex-direction-nav .flex-next::before {
    transform: rotate(45deg);
}

/* Hover */
.single-product .flex-direction-nav a:hover {
    background: #ea5920;
}
