/* Global Styles with FEU Roosevelt Colors */
:root {
    --primary-color:  #014301; /* FEU Green */
    --secondary-color:  #002100; /* Darker FEU Green */
    --accent-color: #eaa321; /* FEU Gold */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --success-color: #025b02;
    --danger-color: #dc3545;
    --warning-color: #f4aa21;
    --info-color: #17a2b8;
    --text-color: #333;
    --text-light: #6c757d;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Playfair Display', 'Georgia', serif; /* Similar elegant serif font */
}

body {
    background-color: #f8f9fa;
    color: var(--text-color);
    line-height: 1.7;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 20px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    z-index: 999;
}

.btn:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-success {
    background-color: var(--success-color);
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-warning {
    background-color: var(--warning-color);
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #212529;
}

.btn-accent:hover {
    background-color: #e6c200;
}

.section {
    padding: 80px 20px;
    min-height: 100vh;
    background-color: #f2f9f2; /* Light green-tinted background */
    color: #333; /* Neutral text color for readability */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #006633; /* FEU green for heading */
    font-size: 2.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FFD700; /* FEU gold accent underline */
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4); /* Soft glow with gold tone */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navigator-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color:  #015801; /* FEU Roosevelt green */
    color: #FFD700; /* Gold text for contrast */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #FFD700, #FFFFFF); /* gold to white gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* Navigation Links */
.navigator-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navigator-links li {
    position: relative;
}

.navigator-links a {
    font-size: 1.1rem;
    font-weight: 500;
    color: #FFD700; /* gold links */
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
}

.navigator-links a:hover {
    color: #FFFFFF; /* white on hover for clarity */
}

.navigator-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700; /* gold underline */
    transition: width 0.3s ease;
}

.navigator-links a:hover::after {
    width: 100%;
}

/* Active link styling */
.navigator-links .active {
    color: #FFFFFF; /* active link white for strong contrast */
    font-weight: 600;
}

.navigator-links .active::after {
    width: 100%;
    background-color: #FFD700;
}

/* Floating Cart Button */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-cart:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-cart .cart-icon {
    position: relative;
    color: white;
    font-size: 1.5rem;
}

.floating-cart .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.cart-icon {
    position: relative;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    color: white;
}

.cart-icon:hover {
    color: var(--accent-color);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 150px 20px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,245,230,0.2)),
        url('https://images.unsplash.com/photo-1573497019226-74f5b9a2d1a9?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80')
        no-repeat center center / cover;
    color: #2c2c2c;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    background-color: var(--accent-color) !important;
    color: var(--dark-color) !important;
}

.hero .btn:hover {
    background-color: #e6c200 !important;
    color: var(--light-color) !important;
}

/* Products */
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.product-price::before {
    content: "₱";
    margin-right: 2px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
    margin-left: 10px;
}

.product-sizes {
    margin-bottom: 20px;
}

.product-sizes label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.product-sizes select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.product-sizes select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 103, 71, 0.2);
    outline: none;
}

.product-actions {
    display: flex;
    gap: 15px;
}

/* Fix for add-to-cart button */
.add-to-cart-btn {
    background-color: var(--primary-color) !important;
    color: white !important;
    flex: 1;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.add-to-cart-btn:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Fix for customize button */
.customize-btn {
    background-color: var(--accent-color) !important;
    color: var(--dark-color) !important;
    flex: 1;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.customize-btn:hover {
    background-color: #e6c200 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* About Section */
.about {
    background-color: #f5f7ff;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 103, 71, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: auto;
    background-color: #fff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    font-family: 'Poppins', sans-serif;
    line-height: 1.8;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 40px;
    text-align: center;
}

.about h3 {
    margin-top: 40px;
    font-size: 1.8rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.about h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.about p {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.custom-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 35px;
}

.custom-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.image-container {
    text-align: center;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.image-container img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    transition: var(--transition);
}

.image-container:hover img {
    transform: scale(1.02);
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--dark-color);
    font-size: 1.8rem;
    position: relative;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: var(--text-color);
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
    min-width: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 25px;
    color: var(--dark-color);
    font-size: 1.8rem;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 103, 71, 0.2);
    outline: none;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.4s ease;
    overflow-y: auto;
}

/* Optional: Style the scrollbar */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

/* Lock body scroll when checkout is open */
body.modal-checkout-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* When checkout modal is open */
body.modal-checkout-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2001;
}

/* Checkout modal container */
#checkout-modal.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2001;
    overflow: auto;
}

/* Modal content */
#checkout-modal .modal-content {
    background-color: white;
    margin: 20px auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
}

/* Cart Items */
.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.cart-item:hover {
    background-color: rgba(0,0,0,0.02);
}

.cart-item-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 25px;
    box-shadow: var(--shadow-sm);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.05);
}

.cart-item-details h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.cart-item-details p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.cart-item-price {
    font-weight: bold;
    margin: 0 25px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin: 0 25px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.cart-item-quantity button:hover {
    background-color: #e0e0e0;
}

.cart-item-quantity span {
    margin: 0 15px;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    color: var(--danger-color);
    cursor: pointer;
    font-size: 1.3rem;
    margin-left: 25px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-total {
    text-align: right;
    padding-top: 25px;
    border-top: 2px solid #eee;
    margin-top: 20px;
}

.cart-total h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.cart-total span {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.8rem;
}

.checkout-btn {
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 1.1rem;
    width: auto;
    display: inline-block;
    background-color: var(--primary-color);
}

.checkout-btn:hover {
    background-color: var(--secondary-color);
}

/* Customization Form */
.customize-form {
    margin-bottom: 30px;
}

.customize-option {
    justify-self: center;
    margin-bottom: 20px;
}

.customize-option label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
}

.customize-option input,
.customize-option select,
.customize-option textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.customize-option input:focus,
.customize-option select:focus,
.customize-option textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 103, 71, 0.2);
    outline: none;
}

.customize-option textarea {
    height: 120px;
    resize: vertical;
}

.add-to-cart-custom {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background-color: var(--primary-color);
}

.add-to-cart-custom:hover {
    background-color: var(--secondary-color);
}

/* Empty Cart Message */
.empty-cart-message {
    text-align: center;
    padding: 60px 0;
}

.empty-cart-message i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 30px;
}

.empty-cart-message h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.empty-cart-message p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Checkout Form */
.checkout-form {
    max-width: 800px;
    margin: 0 auto;
}

.checkout-form h3 {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px 8px 0 0;
    margin-bottom: 5px;
    font-weight: bold;
}

.checkout-form h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 103, 71, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.transaction-items-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    color: black;
    border-radius: 8px 8px 0 0;
    margin-bottom: 5px;
    font-weight: bold;
}

.header-details {
    flex: 2;
}

.header-qty {
    flex: 1;
    text-align: center;
}

.header-pricing {
    flex: 1;
    text-align: right;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.transaction-item-details {
    flex: 2;
    padding-right: 15px;
}

.transaction-item-quantity {
    flex: 1;
    text-align: center;
}

.transaction-item-pricing {
    flex: 1;
    text-align: right;
}

.transaction-item div {
    margin-bottom: 5px;
}

.transaction-item strong {
    color: rgb(48, 48, 48);
    font-weight: 550;
}

.transaction-total {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
}

.total-amount {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

 /* Responsive Design */
        @media (max-width: 992px) {
            .hero h2 {
                font-size: 2.8rem;
            }
            
            .hero p {
                font-size: 1.3rem;
            }
            
            .products-container {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
                gap: 30px;
            }
            
            .contact-container {
                flex-direction: column;
            }
        }

        @media (max-width: 768px) {
            .navigator-bar {
                padding: 15px 5%;
            }
            
            .navigator-links {
                position: fixed;
                top: 0;
                right: -100%; /* Changed from left to right */
                width: 80%;
                height: 100vh;
                background-color: #006633; /* Matches navbar background */
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                padding: 100px 40px;
                transition: right 0.3s ease; /* Changed transition to right */
                z-index: 1000;
                box-shadow: -5px 0 15px rgba(0,0,0,0.2); /* Adjusted shadow for right-side */
            }
            
            .navigator-links.active {
                right: 0; /* Slide in from right */
            }
            
            .navigator-links li {
                margin: 15px 0;
            }
            
            .hamburger {
                display: block;
            }
            
            .hamburger.active .line:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }
            
            .hamburger.active .line:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger.active .line:nth-child(3) {
                transform: rotate(-45deg) translate(5px, -5px);
            }
        }
    
    .hero {
        padding: 120px 20px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 40px;
    }
    
    .modal-content {
        width: 95%;
        padding: 30px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-info {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cart-item-price,
    .cart-item-quantity,
    .cart-item-remove {
        margin: 10px 0 0 125px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }


@media (max-width: 576px) {
    .section {
        padding: 60px 15px;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .about-content {
        padding: 30px 20px;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .cart-item-quantity,
    .cart-item-remove {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* === Customize Modal === */
.customize-modal {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    width: 90%;
    margin: 5% auto;
    background-color: var(--light-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
    gap: 24px;
    transition: var(--transition);
    animation: slideDown 0.4s ease;
    border: 1px solid rgba(0, 103, 71, 0.1);
}

/* === Inner Container (Split Layout) === */
.customize-container {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap;
    align-items: stretch;
}

/* === Preview Area === */
.customize-preview {
    flex: 1;
    position: relative;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), var(--shadow-sm);
    transition: var(--transition);
    min-height: 400px;
    max-height: 400px;
}

.customize-preview:hover {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), var(--shadow-md);
}

/* === Preview Image === */
.customize-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: fill;
    border-radius: 8px;
    transition: var(--transition);
}

.customize-preview-img:hover {
    transform: scale(1.03);
}

/* === Customization Options Area === */
.customize-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

/* === Color Options === */
.color-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
    border-color: #006747;
    border-radius: 10%;
}

.color-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-color: #006747;
    border-radius: 10%;
}

.color-option.selected {
    border-color: var(--accent-color);
    transform: scale(1.15);
    box-shadow: var(--shadow-md);
}

.color-option:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* === Sticker Options === */
.sticker-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.sticker-option {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #e5e5e5;
    background: #ffffff;
    padding: 8px;
    box-shadow: var(--shadow-sm);
}

.sticker-option:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.sticker-option img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sticker-preview {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #007bff;
    border-radius: 5px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticker-preview img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.sticker-preview:hover .sticker-controls {
    opacity: 1;
}

/* === Sticker Controls === */
.sticker-wrapper {
    position: relative; /* Required for absolute positioning inside */
}

.sticker-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let pointer events pass through the container */
}

/* Position each control icon */
.remove-sticker {
    justify-content: right;
    top: -52px;
    left: -3px;
}

.increase-size {
    justify-content: center;
    top: 17px;
    left: -23px;
}

.decrease-size {
    justify-content: center;
    top: 17px;
    left: -59px;
}

.rotate-right {
    justify-content: right;
    top: -13px;
    left: 10px;
}

.rotate-left {
    justify-content: left;
    top: -13px;
    left: -91.1px;
}

.sticker-controls i:hover {
    background: none !important;
    color: var(--accent-color);
    transform: scale(1.1);
}

.sticker-controls i {
    position: absolute;
    background: none !important;
    color: var(--primary-color);
    border: 1px solid transparent;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    pointer-events: auto;
}

/* Tooltip styles using ::after */
.sticker-controls i::after {
    content: attr(data-label);
    position: absolute;
    bottom: 110%; /* show above the icon */
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

/* Show tooltip on hover */
.sticker-controls i:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Adjustments for bottom-positioned icons (tooltips should go upward) */
.increase-size::after,
.decrease-size::after {
    bottom: auto;
    top: 110%; /* show below */
    transform: translateX(-50%);
}

.increase-size:hover::after,
.decrease-size:hover::after {
    transform: translateX(-50%) translateY(2px);
}



/* === Customization Summary === */
.customize-summary {
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
}

.customize-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--text-color);
}

.customize-summary-total {
    font-weight: 600;
    font-size: 1rem;
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
    margin-top: 12px;
    color: var(--dark-color);
}

/* === Action Buttons === */
.customize-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.customize-actions button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cancel {
    background-color: transparent;
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
}

.btn-cancel:hover {
    background-color: var(--danger-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-confirm {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-confirm:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* === Responsive Adjustments for Customize Modal === */
@media (max-width: 768px) {
    .customize-modal {
        width: 95%;
        padding: 20px;
        margin: 10% auto;
    }

    .customize-container {
        flex-direction: column;
        gap: 20px;
    }

    .customize-preview,
    .customize-options {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .customize-preview-img {
        max-height: 100%;
    }

    .sticker-option {
        width: 60px;
        height: 60px;
    }

    .color-option {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .customize-modal {
        padding: 16px;
    }

    .customize-preview,
    .customize-options {
        min-height: 250px;
        max-height: 250px;
    }

    .customize-preview-img {
        max-height: 100%;
    }

    .customize-actions button {
        width: 100%;
        padding: 10px;
    }

    .customize-actions {
        flex-direction: column;
        gap: 10px;
    }
}

/* Terms & Conditions Modal */
#terms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    backdrop-filter: blur(8px);
    padding: 20px;
    box-sizing: border-box;
}

#terms-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.terms-modal-content {
    width: 100%;
    max-width: 700px;
    max-height: 80vh;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    animation: modalSlideUp 0.4s ease 0.1s forwards;
}

.terms-modal-header {
    padding: 25px 30px;
    background-color: var(--primary-color);
    color: white;
    position: relative;
}

.terms-modal-header h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.terms-modal-header h2::before {
    content: "🛡️";
    font-size: 1.5rem;
}

.terms-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.terms-modal-body::-webkit-scrollbar {
    width: 6px;
}

.terms-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.terms-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
}

.terms-list {
    padding-left: 20px;
    margin-bottom: 30px;
}

.terms-list li {
    margin-bottom: 20px;
    padding-left: 10px;
    line-height: 1.6;
    position: relative;
}

.terms-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: -15px;
    top: -2px;
}

.terms-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.terms-list em {
    font-style: italic;
    color: var(--text-light);
}

.terms-modal-footer {
    padding: 20px 30px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.terms-modal-footer .btn {
    min-width: 150px;
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
}

#declineTerms {
    background-color: white;
    color: var(--danger-color);
    border: 2px solid var(--danger-color);
}

#declineTerms:hover {
    background-color: var(--danger-color);
    color: white;
}

#acceptTerms {
    background-color: var(--primary-color);
    color: white;
}

#acceptTerms:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .terms-modal-content {
        max-height: 90vh;
    }
    
    .terms-modal-header {
        padding: 20px;
    }
    
    .terms-modal-body {
        padding: 20px;
    }
    
    .terms-modal-footer {
        padding: 15px 20px;
        gap: 15px;
    }
    
    .terms-modal-footer .btn {
        min-width: 120px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .terms-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .terms-list li {
        margin-bottom: 15px;
    }
    
    .terms-modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .terms-modal-footer .btn {
        width: 100%;
    }
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-right: 15px;
}

.shipping-fee-section {
    flex: 1;
    min-width: 200px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    margin-top: 0;
}

.shipping-fee-section h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #343a40;
    font-size: 16px;
}

.shipping-fee-details p {
    margin: 5px 0;
    font-size: 14px;
}

.shipping-fee-details .note {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
}

#selected-area, #shipping-fee, #selected-coordinator, #coordinator-shipping-fee {
    font-weight: bold;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .form-group, .shipping-fee-section {
        flex: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

.size-selector {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.image-container {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}

.small-image {
    width: 40px !important;
    height: auto !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.size-guide {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 90%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    background: white;
    animation: fadeIn 0.3s ease;
}

.size-guide.active {
    display: block;
}

/* Modal Container */
.size-guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.size-guide-modal[style*="display: flex"] {
    display: flex !important;
}

/* Zoomable Image */
.size-guide-img {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.modal-content-sizeguide {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    padding: 10px;
    border-radius: 8px;
    width: 950px;
    height: 550px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Error Modal Container */
.error-modal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Error Modal Content */
.error-modal .modal-content {
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Header for Error Modal */
.error-modal .modal-content h2 {
    color: #dc3545;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Paragraph Text */
.error-modal .modal-content p {
    font-size: 1rem;
    color: #333;
}

/* Close Button Specific to Error Modal */
.error-modal .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.error-modal .close-modal:hover {
    color: #000;
}