/* Product Details Page Styles */

.product-details-main {
    background-color: #f5f5f5;
    min-height: 100vh;
    padding: 30px 20px;
}

.product-details-container {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

/* Product Images Section */
.product-images-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.main-image-container {
    width: 100%;
    height: 350px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fafafa;
    margin-bottom: 15px;
}

.main-product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    justify-content: center;
}

.thumbnail-item {
    width: 80px;
    height: 60px;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #1a1a1a;
}

.thumbnail-item:hover {
    border-color: #c4ff0d;
    transform: translateY(-2px);
}

.thumbnail-item.active {
    border-color: #c4ff0d;
    box-shadow: 0 0 10px rgba(196, 255, 13, 0.3);
}

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

.thumbnail {
    width: 80px;
    height: 60px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnail.active {
    border-color: #c4ff0d;
    box-shadow: 0 0 8px rgba(196, 255, 13, 0.3);
}

.thumbnail:hover {
    border-color: #c4ff0d;
}

/* Order Details Illustration Section */
.order-details-illustration {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
}

.product-price {
    font-size: 24px;
    font-weight: 600;
    color: #c4ff0d;
    margin-bottom: 25px;
}

/* Tabs */
.product-tabs {
    margin-top: 30px;
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    color: #888888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #000000;
    border-bottom-color: #c4ff0d;
}

.tab-btn:hover {
    color: #000000;
}

.tab-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tab-pane ul li {
    padding: 8px 0;
    color: #333333;
    font-size: 15px;
}

.tab-pane p {
    color: #555555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Reviews */
.review-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.review-author {
    font-weight: 600;
    color: #000000;
}

.review-rating {
    color: #ffc107;
    font-size: 14px;
}

.review-text {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

/* Personalization Form Section */
.personalization-form-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    grid-column: 1 / -1;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c4ff0d;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c4ff0d;
    box-shadow: 0 0 0 3px rgba(196, 255, 13, 0.1);
}

.form-control::placeholder {
    color: #999999;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* Upload Sections */
.upload-section {
    margin: 30px 0;
    padding: 25px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.upload-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
}

.upload-area {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.upload-preview {
    width: 200px;
    height: 150px;
    border: 2px dashed #d0d0d0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.upload-placeholder {
    color: #999999;
    font-size: 12px;
    text-align: center;
    padding: 10px;
}

.signature-placeholder {
    height: 80px;
}

.upload-instructions {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upload-instructions h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.upload-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upload-instructions ul li {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 6px;
}

.upload-btn {
    padding: 10px 25px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.upload-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.btn-add-to-cart,
.btn-checkout {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart {
    background-color: #000000;
    color: #ffffff;
}

.btn-add-to-cart:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-checkout {
    background-color: #c4ff0d;
    color: #000000;
}

.btn-checkout:hover {
    background-color: #b3e60c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196, 255, 13, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-details-container {
        grid-template-columns: 1fr;
    }

    .product-images-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .product-details-main {
        padding: 20px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .upload-area {
        grid-template-columns: 1fr;
    }

    .upload-preview {
        width: 100%;
        margin: 0 auto;
    }

    .action-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-add-to-cart,
    .btn-checkout {
        width: 100%;
        min-height: 44px;
        padding: 12px 24px;
        font-size: 15px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-height: 44px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        min-height: 44px;
        font-size: 14px;
    }

    .upload-btn {
        min-height: 44px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-details-main {
        padding: 15px 10px;
    }

    .product-info-section,
    .personalization-form-section {
        padding: 20px 15px;
    }

    .product-title {
        font-size: 22px;
    }

    .product-price {
        font-size: 20px;
    }

    .main-image-container {
        height: 250px;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .btn-add-to-cart,
    .btn-checkout {
        padding: 11px 20px;
        font-size: 14px;
        min-height: 40px;
    }

    .tab-btn {
        padding: 9px 16px;
        font-size: 13px;
        min-height: 40px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        min-height: 40px;
        font-size: 13px;
        padding: 10px 12px;
    }

    .upload-btn {
        min-height: 40px;
        padding: 9px 16px;
        font-size: 13px;
    }

    .section-title {
        font-size: 18px;
    }

    .form-label {
        font-size: 13px;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .product-details-main {
        padding: 12px 8px;
    }

    .product-info-section,
    .personalization-form-section {
        padding: 15px 12px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-price {
        font-size: 18px;
    }

    .main-image-container {
        height: 220px;
    }

    .thumbnail {
        width: 50px;
        height: 38px;
    }

    .btn-add-to-cart,
    .btn-checkout {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 38px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 38px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        min-height: 38px;
        font-size: 12px;
        padding: 8px 10px;
    }

    .upload-btn {
        min-height: 38px;
        padding: 8px 14px;
        font-size: 12px;
    }

    .section-title {
        font-size: 16px;
    }

    .form-label {
        font-size: 12px;
    }

    .upload-area {
        padding: 15px 10px;
    }
}

/* Footer Styles */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 50px 20px 25px;
    border-top: 1px solid #1a1a1a;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #888888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #c4ff0d;
}

.footer-column p {
    color: #888888;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-seo-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-seo-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    text-align: center;
}

.footer-keywords {
    text-align: center;
    line-height: 2;
    color: #888888;
    font-size: 14px;
}

.footer-keywords a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-keywords a:hover {
    color: #c4ff0d;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    color: #666666;
    font-size: 13px;
    margin: 0;
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-column ul li a,
    .footer-column p {
        font-size: 12px;
    }

    .footer-keywords {
        font-size: 13px;
        line-height: 1.8;
    }
}

@media (max-width: 360px) {
    .footer-keywords {
        font-size: 12px;
        line-height: 1.6;
    }

    .footer-keywords a {
        display: inline-block;
        margin: 2px 0;
    }
}
