/* ==================================
   1. LAYOUT & CARD STYLES
   ================================== */

.package-container {
    margin: 0 auto;
    padding: 2.5rem 1rem; /* py-10 px-4 */
}

/* Flex layout for 2/3 Content and 1/3 Sidebar */
.package-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column on mobile */
    gap: 3rem; /* gap-12 */
    padding-top: 15px;
}

@media (min-width: 1024px) { /* Equivalent to Tailwind's lg: */
    .package-grid {
        grid-template-columns: 2fr 1fr; /* 2/3 and 1/3 layout */
        padding-top: 15px;
    }
}

.content-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* space-y-10 */
}

/* Card Styling for main sections */
.package-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

/* FIX: Added class for aligning Vendor Link and Category Tag */
.flex-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* ==================================
   2. BREADCRUMBS FIXES
   ================================== */

.breadcrumb-list {
    /* FIX: Added missing list styles */
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* gray-500 */
}

.breadcrumb-list li {
    margin-right: 0.5rem; /* space-x-2 adjustment */
    line-height: 1.2rem;
}

.breadcrumb-link {
    /* FIX: Added link styles */
    color: #6b7280;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.breadcrumb-link:hover {
    color: #374151; /* gray-700 */
}

.breadcrumb-separator {
    /* Styles for the HTML entity (&rsaquo;) */
    color: #d1d5db; /* gray-300 */
    font-size: 1.2rem;
    margin: 0 0.25rem;
}

.breadcrumb-current {
    font-weight: 500;
    color: #fa5754; /* gray-900 */
    max-width: 15rem; /* limit width to prevent overflow */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.package-service-tag {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgb(241, 241, 241);
    color: rgb(51, 51, 51);
    padding: 3px 8px;
    border-radius: 4px;
}


/* ==================================
   3. TYPOGRAPHY & HEADER
   ================================== */

.package-name {
    /* FIX: Changed color to a vibrant primary color (e.g., strong blue #4f46e5) */
    font-size: 3rem; /* text-5xl */
    font-weight: 800; /* font-extrabold */
    color: ##333; /* 👈 Set this to your primary brand color (e.g., Indigo/Purple) */
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* --- (rest of the CSS file remains the same) --- */
/* ... */
.package-header {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.vendor-link {
    font-size: 0.875rem; /* text-sm */
    font-weight: 600;
    color: #10b981; /* indigo-600 */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
}
/* FIX: Style for the anchor inside the vendor-link wrapper */
.vendor-link-anchor {
    color: inherit; 
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}
.vendor-link-anchor:hover {
    text-decoration: underline;
    color: #10b981; /* indigo-600 */
}

/* Price block: Critical fix for prominence */
.package-price-amount {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    color: #fa5754; /* green-600 */
    line-height: 1;
}

.package-price-unit {
    font-size: 1.25rem; /* text-xl */
    font-weight: 400;
    color: #6b7280; /* gray-500 */
}

/* Section Title style (e.g., "What's Included?") */
.section-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #1f2937;
    border-bottom: 2px solid #eef2ff;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Ensure description text respects the prose style for readability (with nl2br) */
.package-description {
    color: #374151;
    line-height: 1.75;
    word-break: break-word; 
    overflow-wrap: break-word;
}

/* ==================================
   4. ACTION SIDEBAR & BUTTONS
   ================================== */

.sidebar-sticky {
    position: sticky;
    top: 2.5rem; /* top-10 */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
}

.action-box {
    padding: 2rem;
    background-color: #eef2ff; /* bg-indigo-50 */
    border: 1px solid #c7d2fe;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
}

.action-box h3 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #3730a3; /* indigo-800 */
    margin-bottom: 1rem;
}

.btn-enquire-primary {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 0.75rem;
    color: white;
    background-color: #4f46e5; /* indigo-600 */
    box-shadow: 0 10px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-enquire-primary:hover {
    transform: scale(1.03);
    color: #ffffff;
}

.trust-element {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.75rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* ==================================
   5. ICON SIZE ENFORCEMENT (For Button SVG only)
   ================================== */

/* Enquire Button Arrow Icon - Enforce size with !important */
.enquire-arrow-icon {
    width: 1.25rem !important; /* 20px */
    height: 1.25rem !important; /* 20px */
    margin-left: 0.75rem; /* ml-3 */
}

/* --- New Button Styling for AJAX Success --- */
.btn-add-to-cart.added {
    background-color: #28a745 !important; /* Green for success */
    border-color: #28a745 !important;
    color: white !important;
    cursor: default;
}

/* Secondary Button for View Cart (if used in JS) */
.btn-enquire-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #3730a3; /* Darker color for secondary link */
    background-color: #e0e7ff; /* Light background */
    border: 1px solid #c7d2fe;
    transition: background-color 0.15s ease;
    width: 100%;
}
.btn-enquire-secondary:hover {
    background-color: #c7d2fe;
}

/* Ensure the initial button styling is applied to the JS-targeted class */
.btn-add-to-cart {
    /* Copy styles from your .btn-enquire-primary */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem; 
    font-weight: 600;
    text-decoration: none;
    background-color: #4f46e5; /* Placeholder: Use your actual primary color/style */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
    width: 100%;
    /* Override for the specific style in the image */
    background-color: #4f46e5; /* A primary blue-purple that matches the image */
}

/* Specific styling for the 'Ready to Book' blue button in your image */
.action-box .btn-add-to-cart {
    background-color: #4f46e5; /* Blue-purple from the image */
    color: white;
    border-radius: 0.5rem;
    font-size: 1rem;
    padding: 1rem 1.5rem;
}

.action-box .btn-add-to-cart:hover {
    background-color: #3730a3;
}
.action-box .enquire-arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}